OK, if you are getting this error on your php script its because you have an error on your mysql query, it basically means that the query did not find anything that matches what you asked to looked for in the database. most likely you mispelled someting in your query. check it again to make sure the field, row or table you are quering is spelled correctly or if it even exists..
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in
Please help me!
$sql="select email ,password_2 from academy where email='$user' and password_2='$pass' ";
$result=mysql_query($sql
$count=0 ;//mysql_num_rows($sql) or die(mysql_error());
$rs=array();
while($row=mysql_fetch_row($result) {
$rs=$row;
echo $rs[0];
$count=$count+1;
}
echo $user;
echo $pass;
if($count==1)
{
ses
https://www.wallpaperama.com/forums/warning-mysql-num-rows-supplied-argument-is-not-a-valid-mysql-result-resource-in-t1529.html