Generally you've got an error in your SQL at such points. If you do,
mysql_query return false, and false is nor a valid MySQL result, so
mysql_num_rows errors out.
Check using mysql_error() to see what you're doing wrong
Php Junkie wrote:
Ave,
In one of my scripts, I'm getting the error:
Warning: mysql_num_rows(): supplied argument is not a valid MySQL result
resource in /Library/WebServer/Documents/limiteduse.net/dumptoday.php on
line 56
Iım not clearly sure why. Iım running PHP5 with mySQL 4 ... Is there a
compatibility issues somewhere?
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php