Jump to content

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


jwk811

Recommended Posts

[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]

Archived

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

×
×
  • Create New...

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.