Warning: mysql_num_rows() expects parameter 1 to be resource, boolean given in N:\ftp\compc\d10cn\Project\login1.php on line 51
The username you entered was not found.
^^ this is the error i keep getting, does anyone know what this means? or what would be wrong with line 51, which is:
$query = mysql_query ("SELECT * FROM users WHERE username = '$user'");
$numrows = mysql_num_rows($query);
if ($numrows == 1){