Page 1 of 1
Form validation error / glitch? oO
Posted: Mon Jan 18, 2010 1:49 pm
by ShadowIce
EDIT... =D
Re: Form validation error / glitch? oO
Posted: Mon Jan 18, 2010 2:48 pm
by McInfo
When you omit curly braces ({}) from a conditional statement, only the first statement after the condition is controlled.
Code: Select all
if (false)
echo 'never displayed; controlled by the condition';
echo 'deceptively indented; always displayed; not controlled by the condition';
Edit: This post was recovered from search engine cache.
Re: Form validation error / glitch? oO
Posted: Mon Jan 18, 2010 3:03 pm
by ShadowIce
didnt work.....
Re: Form validation error / glitch? oO
Posted: Mon Jan 18, 2010 3:11 pm
by John Cartwright
Um.. did you try adding the curly braces around the conditional code?
You generally want to post exactly what you tried.. saying it doesn't work is of absolutely no help.
Re: Form validation error / glitch? oO
Posted: Mon Jan 18, 2010 3:18 pm
by ShadowIce
EDIT... =D
Re: Form validation error / glitch? oO
Posted: Mon Jan 18, 2010 3:27 pm
by McInfo
The condition I was referring to in my first comment is this, on line 35 of the script you originally posted.
Edit: This post was recovered from search engine cache.
Re: Form validation error / glitch? oO
Posted: Mon Jan 18, 2010 3:34 pm
by ShadowIce
EDIT... =D
Re: Form validation error / glitch? oO
Posted: Mon Jan 18, 2010 4:56 pm
by ShadowIce
Case: Closed! =D I fixed the problem! =D
Re: Form validation error / glitch? oO
Posted: Mon Jan 18, 2010 6:00 pm
by McInfo
Deleting the content of your posts does not benefit the community.
Edit: This post was recovered from search engine cache.