[suspicious - maybe spam] Re: [PHP] Unexpected T_IF

From: Date: Mon, 25 Apr 2005 23:43:03 +0000
Subject: [suspicious - maybe spam] Re: [PHP] Unexpected T_IF
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-213844@lists.php.net to get a copy of this message
ztuni ztuni wrote:
I'm experiencing an unexpected T_IF error, and after digging through miles of code, came up empty. The relevant code, along with the if statement Parse error: parse error, unexpected T_IF in /var/www/html/phpBB2/posting.php on line 562 if ( !($result = $db->sql_query($sql)) )
(snipped the rest of the code) Check that the line BEFORE the if statement ends with a semicolon (or otherwise ends correctly...). /Mattias -- More views at http://www.thorslund.us

« previous php.general (#213844) next »