i just created a php script with mysql and for some reason i am getting this error:

CODE:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource in mysite/www/index.php on line 48


can you guys help me how to get this fix, i dont understand the supplied part nor the mysql_num_rows() functions, not even why i get this warning.