oops.....sorry...gmail sorted things out wrong and i didn't see the whole conversation. On 4/25/05, The Disguised Jedi <disguised.jedi@xxxxxxxxx> wrote: > > please post the whole file, or a few lines before... > > On 4/25/05, Mattias Thorslund <mattias@xxxxxxxxxxx> wrote: > > > > > > > > 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 > > > > > > > -- > The Disguised Jedi > disguised.jedi@xxxxxxxxx > > Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm > world-wide BABY! > PHP rocks! > "Knowledge is Power. Power Corrupts. Go to school, become evil" > > Disclaimer: Any disclaimer attached to this message may be ignored. > However, I must say that the ENTIRE contents of this message are subject to > other's criticism, corrections, and speculations. > > This message is Certified Virus Free -- The Disguised Jedi disguised.jedi@xxxxxxxxx Now you have my $0.02. Or .01 Pounds, .014 Euros, or $0.025 CAN. I'm world-wide BABY! PHP rocks! "Knowledge is Power. Power Corrupts. Go to school, become evil" Disclaimer: Any disclaimer attached to this message may be ignored. However, I must say that the ENTIRE contents of this message are subject to other's criticism, corrections, and speculations. This message is Certified Virus Free