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

2005-04-25 Thread The Disguised Jedi
please post the whole file, or a few lines before... On 4/25/05, Mattias Thorslund <[EMAIL PROTECTED]> 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

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

2005-04-25 Thread The Disguised Jedi
oops.sorry...gmail sorted things out wrong and i didn't see the whole conversation. On 4/25/05, The Disguised Jedi <[EMAIL PROTECTED]> wrote: > > please post the whole file, or a few lines before... > > On 4/25/05, Mattias Thorslund <[EMAIL PROTECTED]> wrote: > > > > > > > > ztuni ztuni

Re: [PHP] Unexpected T_IF

2005-04-25 Thread Richard Lynch
On Mon, April 25, 2005 4:29 pm, ztuni ztuni said: > 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

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

2005-04-25 Thread Mattias Thorslund
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)) )

[PHP] Unexpected T_IF

2005-04-25 Thread ztuni ztuni
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)) ) {

Re: [PHP] unexpected T_IF

2002-05-25 Thread Steve Buehler
put a ; at the end of line 31 and see if it still gives you the error. Steve At 10:33 AM 5/25/2002 +0100, you wrote: >Hmm, can anyone explain why I'm getting this error? > >Parse error: parse error, unexpected T_IF in >/usr/local/htdocs/san.loc/upload-img.php on line 34 > >Code reads: > >11:#--

[PHP] unexpected T_IF

2002-05-25 Thread Zac Hillier
Hmm, can anyone explain why I'm getting this error? Parse error: parse error, unexpected T_IF in /usr/local/htdocs/san.loc/upload-img.php on line 34 Code reads: 11:#--if form submitted then process file upload 12:if($HTTP_POST_VARS['ttl']) { 13: 14: #--check if there is already a picture calle