PHP:$u = mysql_real_escape_string(htmlentities($_POST['reg_username'])); $username = mysql_num_rows(mysql_query("SELECT * FROM users WHERE username = '$u' LIMIT 1"));
What tha fawk is wrong with this?
PHP:$u = mysql_real_escape_string(htmlentities($_POST['reg_username'])); $username = mysql_num_rows(mysql_query("SELECT * FROM users WHERE username = '$u' LIMIT 1")));