Php registration error?

mikes.herps

New member
Ok im new to web development in total i know enough html,css to keep me happy but i got a little time on my hands a thought i would try to learn a bit more.

I got a couple of questions.

First off im getting an error - Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in *** line 65

and the same error for line 66

Line 63) \/
$sql_email_check = mysql_query("SELECT email FROM myMembers WHERE email='$emailChecker'");

Line 64) \/
$sql_username_check = mysql_query("SELECT username FROM myMembers WHERE username='$usernameChecker'");

Line 65) \/
$email_check = mysql_num_rows($sql_email_check);

Line 67) \/
$username_check = mysql_num_rows( $sql_username_check );

Now if anyone could take the time to explain the code not just give the answer it would be a great help. but an answer would also help me explain the code if you havent got the time.

also this may seem like a simple question but i have 3 <select> boxes in the format of a DOB.
how would i add the 3 variables into 1 string format like "0/00/0000"
 
Back
Top