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

Spaghetti Code
So.

I've pretty much reached the point where I have so many isset s on one page that I can't

do while conditions
i want to display 6 images in a 2x3 table
now what would be the correct logic to
count that th

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)

insert quotes
Hi,

I have an output like this:
Code: john,18,Cancer
How can I change this to
Code:

Help a newbee save my job !
Hey guys i am dying here i am new to php and would like for someone to help me with this problem

Wierd echo error?
Hi, i got the most wierd php error ever and i don't know why..
Code: echo "<t

convert pps to wsf with php'how?
hi
i want to convert with php
PowerPoint file to swf file(flash)
how please?
thank!!!

session variable problem
Session variable is not working in Fire fox i am getting null value but it is working fine in IE.

What makes a script your own?
If someone finds a login script online, and changes some variable names around and some other minor

IF Statement & Two Tables With Different Echoes
I'm retrieving two tables in a single query using UNION ALL, like so:

Code: $query = "SE

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