Why is this SQL query throwing Warnings?

Posted by user355367 on Stack Overflow See other posts from Stack Overflow or by user355367
Published on 2010-06-01T12:00:41Z Indexed on 2010/06/01 12:13 UTC
Read the original article Hit count: 146

Filed under:
|
            $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 ....

© Stack Overflow or respective owner

Related posts about php

Related posts about mysql