hovercraft
Technical User
Greetings,
I am getting an error: "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/teelogic/public_html/new_acct.php on line 34
end"
when I use this code:
Does anyone see a reason why the mysql_query would pass an invalid result? the fields and variable are correct.
Thanks,
Hovercraft
I am getting an error: "Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/teelogic/public_html/new_acct.php on line 34
end"
when I use this code:
Code:
$rs_check = mysql_query("SELECT 'custid' FROM 'tbl_custs' WHERE 'custemail' ='".$vcustemail."'");
$check= mysql_num_rows($rs_check);
Does anyone see a reason why the mysql_query would pass an invalid result? the fields and variable are correct.
Thanks,
Hovercraft