Re: Creating a registration page with php and mysql
hmmm yet, theres another problem i had a friend sign up and everything worked fine, but then he registered again with the same name and it let him...so the usernamecheck isnt working properly
$usernamecheck = mysql_query("SELECT * FROM members WHERE username = '$username'");
if ($usernamecheck >= 1)
errors .="Message";
is what i have so, what am i doing wrong now?
hmmm yet, theres another problem i had a friend sign up and everything worked fine, but then he registered again with the same name and it let him...so the usernamecheck isnt working properly
$usernamecheck = mysql_query("SELECT * FROM members WHERE username = '$username'");
if ($usernamecheck >= 1)
errors .="Message";
is what i have so, what am i doing wrong now?
Comment