You are here: [suspicious - maybe spam] Re: [PHP] Unexpected T_IF « PHP « IT news, forums, messages
[suspicious - maybe spam] Re: [PHP] Unexpected T_IF

Posted by Mattias Thorslund on 10/10/83 11:14

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

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация