First you should manage your code nicer so that it is easier to read
and troubleshoot. Go through this to find my notes...
if (!$HTTP_POST_VARS) { exit();}
elseif ($HTTP_POST_VARS) {
if (!$Age) { echo Please enter your age.br\n;
} if
Why
Just curious but that last else you told him to put in... what is that
referring to? There is already an else statement, you can't have another.
Unless you're putting the else statement after the if (!$State) which you
would need to subtract the } before the else, but this would give you
Yes, I see what you mean...
In showing why the last section didn't work, I messed up the actual
overall
logic of the code.
I should have noticed that...nice catch
so for clarification where it says (MARK) should be
echo Thanks for your submission.;
}
Thanks...
Jack Sasportas wrote:
3 matches
Mail list logo