Page 1 of 1

Warning: mysql_num_rows(): supplied argument is not a valid

Posted: Sun May 16, 2004 9:11 am
by mccommunity
I am getting the error below when I go to any page on my server with the mysql_num_rows function in it. My server is running php and mysql and phpadmin for mysql runs fine. Any one have any ideas why this would be happening? Thanks.


Warning: mysql_num_rows(): supplied argument is not a valid MySQL result resource

Posted: Sun May 16, 2004 10:27 am
by Deemo
could you please put some code around where the function is used?

Posted: Sun May 16, 2004 12:22 pm
by feyd
most likely, the query statement just before this, fails for some reason.