Hi there
Im getting this error message with a script im trying to use.
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/rideron1/public_html/join_form.php on line 67
No database selected
The script im using works on my local server but as soon as I upload it to my web server it gives the above error, the section of code that is giving me the problem is
// Connect to database
include "script/db_connect_online.php";
$emailCHecker = mysql_real_escape_string($email1);
$emailCHecker = eregi_replace("`", "", $emailCHecker);
// Database duplicate e-mail check setup for use below in the error handling if else conditionals
$sql_email_check = mysql_query("SELECT email FROM mymembers WHERE email='$emailCHecker'");
$email_check = mysql_num_rows($sql_email_check);
please help its driving me nuts..