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

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to