HTML beginner |
|
Fatal error: Invalid user ID given: in /www/users/mkiq.downfire.com/forum/view_topic.php on line 62
<?
if(!$rMySQLQuery1 = mysql_query("SELECT * FROM members WHERE memberid = '$memberid'"))
{
message_die();
}
if(mysql_num_rows($rMySQLQuery1) == 0)
{
trigger_error('Invalid user ID given: <b>'.$iUserId.'</b>',E_USER_ERROR);
}
return mysql_fetch_assoc($rMySQLQuery1);
}
?>
<? if(!$rMySQLQuery1 = mysql_query("SELECT * FROM members WHERE memberid = '$memberid'")) { message_die(); } { trigger_error('Invalid user ID given: <b>'.$iUserId.'</b>',E_USER_ERROR); } } ?>
Waar zit de fout, volgens mysql zit de fout op lijn 62, waar
trigger_error('Invalid user ID given: <b>'.$iUserId.'</b>',E_USER_ERROR);
staat.
Ziet iemand de fout?
|