Trouble With If Statement Php
I have been scripting PHP for for about 9 months now and im starting to run into a problem with my if conditions. This has never happened before. if ($reason != '9ee1e1f4fbf1'){
Solution 1:
The problem is in the line above the if. Maybe forgot a semicolon?
Solution 2:
Please post the lines before the if
statement. Usually, when you get an unexpected ____
error in PHP, it means you left out a semi-colon or something like that.
Solution 3:
The T_IF
token is unexpected, probably because PHP was in a parsing state that wasn't finished by an ending delimiter (perhaps the end of line semi-colon (;
)).
Solution 4:
You should look at anything before the if, maybe you are missing a semicolon(;).
Post a Comment for "Trouble With If Statement Php"