These forums are CLOSED. Please visit the new forums HERE
Code following IF gets executed regardless |
|
Losenger Blair
SL Bum
![]() Join date: 24 Feb 2004
Posts: 7
|
01-02-2006 19:39
Nevermind
|
Zapoteth Zaius
Is back
![]() Join date: 14 Feb 2004
Posts: 5,634
|
01-02-2006 19:44
adding PHP tags.. Just makes it a little bit easier for people who know more than me about scripting
![]() ![]() CODE
_____________________
I have the right to remain silent. Anything I say will be misquoted and used against me.
--------------- Zapoteth Designs, Temotu (100,50) --------------- ![]() |
Almarea Lumiere
Registered User
Join date: 6 May 2004
Posts: 258
|
01-02-2006 19:44
the following code, the commands are executed regardless of the IF conditions. Take the semicolons off of the end of the "if" statements (it is the null statement terminated by the semicolon which is conditionally executed -- if you remove them, the following compound statment will be the one governed by the "if" ![]() |
Losenger Blair
SL Bum
![]() Join date: 24 Feb 2004
Posts: 7
|
01-02-2006 20:10
I'm stupid... thank you!
|