23 $query = mysql_query("select * from login where password='$password' AND user='$username'", $connection); 24 $rows = mysql_num_rows($result); 25 if ($rows == 1) { Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/a6634782/public_html/checklogin.php on line 24 Could somebody tell me my mistake please?