Page 1 of 1

noobish question

Posted: Fri Aug 13, 2004 10:26 am
by dwfait
Me an my newbish questions...

anyway....why wont this work?

Code: Select all

if ($toid==$suser) {

Posted: Fri Aug 13, 2004 10:27 am
by d3ad1ysp0rk
it will, if they are equal.

Posted: Fri Aug 13, 2004 10:36 am
by dwfait
hmmm..i get this error:

Code: Select all

Parse error: parse error, unexpected T_IF in /home/stormst/public_html/SSPN/index.php on line 623

Posted: Fri Aug 13, 2004 10:44 am
by Getran
Then i guess you didn't close the if statement ?

Posted: Fri Aug 13, 2004 10:49 am
by m3mn0n
Show us more of the code.

It's most likely an error that is not on the line, but that line is where the PHP Parser had to stop operations because of an ilegal syntax procedure.

Posted: Fri Aug 13, 2004 11:51 am
by dwfait
Oh. Nevermind. I left out the ; on a variable decleration O_o. I hate making errors like that, and then not seeing them.