Jump to content

Archived

This topic is now archived and is closed to further replies.

jwk811

Arrgg.. another error.. could you tell me whats wrong with this line? please

Recommended Posts

Parse error: parse error, unexpected T_LOGICAL_OR in /home/content/j/w/k/jwk811/html/membership/activate.php on line 21

heres line 21

if ( mysql_affected_rows ( $sql ) == 0 ) or die(mysql_error());

thank you very much -----

Share this post


Link to post
Share on other sites
[quote author=jwk811 link=topic=112373.msg456015#msg456015 date=1161559553]
Parse error: parse error, unexpected T_LOGICAL_OR in /home/content/j/w/k/jwk811/html/membership/activate.php on line 21

heres line 21

if ( mysql_affected_rows ( $sql ) == 0 ) or die(mysql_error());

thank you very much -----
[/quote]
use
[code]
if ( mysql_affected_rows ( $sql ) == 0 )
{
die(mysql_error());
}
[/code]

Share this post


Link to post
Share on other sites

×

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.