|
| |
|
|
BonRouge
Posts: 42 Joined: 3/3/2006 Status: offline
|
RE: PHP "if" and "else" problems - 9/16/2006 9:26:57
I think you want your second if statement to be 'elseif'. The 'if' kind of starts the if/else statement again. As it is, it checks if the email address is valid. It sees it isn't and prints your warning. Then it goes through the if/else statement that comes next. If the required fields are OK, it shows the submission was OK (the else part). I hope that helps.
|
|
New Messages |
No New Messages |
Hot Topic w/ New Messages |
Hot Topic w/o New Messages |
Locked w/ New Messages |
Locked w/o New Messages |
|
Post New Thread
Reply to Message
Post New Poll
Submit Vote
Delete My Own Post
Delete My Own Thread
Rate Posts
|
|
|