PHP Error


Posted on 16th Feb 2014 07:03 pm by admin

On my .php page I have a drop down box that has several names in it. When a user clicks the name & fills the rest of the form out, an email is sent to a supervisor. It works great EXCEPT, if I choose the first choice in the drop down box & submit it I get an error.

Here is the line of code the error references:

Did you know?Explore Trending and Topic pages for more stories like this.
if (mail($email, "message1", $message, "message2")) {


The error is below:

Notice: Undefined variable: email on line 74
Warning: mail() [function.mail]: SMTP server response: 503 Issue RCPT TO: command before DATA command on line 74

Any ideas
No comments posted yet

Your Answer:

Login to answer
306 Like 18 Dislike
Previous forums Next forums
Other forums

Could Someone Please Debug This?
I was wondering if someone could debug this script for me. I realize it's not the tidest script (and

have trouble in a if condition
The if below is working ok, it check when indexes, name, zipcode and state are empty.
Code: &

Is there a way to override built in php functions without APD?
I am trying to use the
rename_function()
override_function()
options that are built into

How do I create a 2D game "camera" to follow player?
In J2ME programming I'm targeting MIDP 2.0 devices.

I'm using gamecanvas and I was thinking t

Changing files over
Just thought I'd start with the new forums looking really nice .

Ok basically I've made this

Passing an array of values From VB6.0 to Oracle PL/SQL Function
Basically we are using VB6.0.

When we try to pass an array from VB6.0 to an Oracle PL/SQL

Display the user's weight lost in the past week
Hello everyone,

I am working on a weight loss app for my site, and I want to display the user

Form always sends to error page...
Hello,
Any help will be greatly appreciated. I am having trouble getting multiple fields to be re

Can't get the unicode character
I'm trying to get some text from various parts of a file. I have converted the file to hex (bin2hex)

Reading waves
Hi,

I am trying to find a way of finding the highs and lows on a graph line, the line points

Sign up to write
Sign up now if you have flare of writing..
Login   |   Register
Follow Us
Indyaspeak @ Facebook Indyaspeak @ Twitter Indyaspeak @ Pinterest RSS



Play Free Quiz and Win Cash