try this
$un_check = mysql_query("SELECT Username FROM users WHERE Username="POSTVALUE"");
if(mysql_num_rows($un_check) >0) {
echo "Username is taken";
}
else{
// Username Free
}
2
solved Database not checking if username is free [closed]
try this
$un_check = mysql_query("SELECT Username FROM users WHERE Username="POSTVALUE"");
if(mysql_num_rows($un_check) >0) {
echo "Username is taken";
}
else{
// Username Free
}
2
solved Database not checking if username is free [closed]