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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 





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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux