Jump to content


Photo

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


  • Please log in to reply
1 reply to this topic

#1 jwk811

jwk811
  • Members
  • PipPipPip
  • Advanced Member
  • 714 posts

Posted 22 October 2006 - 11:25 PM

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

#2 fert

fert
  • Members
  • PipPipPip
  • Advanced Member
  • 1,114 posts

Posted 22 October 2006 - 11:31 PM

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

use
if ( mysql_affected_rows ( $sql ) == 0 ) 
{
die(mysql_error());
}


Si hoc legere scis nimium eruditionis habes
Gentoo Linux 2007.0 Firefox 2




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users