Why is this SQL query throwing Warnings?
- by user355367
$resultnx = mysql_query("SELECT * FROM `emails` WHERE `email` = '{$email}'");
$num_rows = mysql_num_rows($resultnx);
gets this warning Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in ....