wut does this ->Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in /home/content/38/5225538/html/browneyes2/login.php on line 21
error mean please can someone help me with this
$query="SELECT * FROM USERS WHERE username= '%s' AND password'%f' ";
It is a good practice to return the result of a query to a variable and check for an error before using the result. The error message would have helped you find this error.
$result = mysql_query($login) or die(mysql_error());
mysql_function(): WARNING: This extension is deprecated as of PHP 5.5.0, and will be removed in the future. Instead, the MySQLi or PDO_MySQLextension should be used. See also MySQL: choosing an API guide and related FAQ for more information.