mysql_num_rows dos not work

From: Date: Sun, 02 Jul 2000 15:05:15 +0000
Subject: mysql_num_rows dos not work
Groups: php.general 
Request: Send a blank email to php-general+get-4364@lists.php.net to get a copy of this message
Dear Sir/Madam I am using PHP4.0. I have a problem: I do not know how can i get the number of rows in query result. When i use mysql_num_rows($result) whic $result comes from a mysql_db_query a Warning comes that say : <<Supplied argument is not a valid MySQL result resource>> Can you help me how to use mysql functions to get correct results. Thanks. ------------------------------------------------------------ Buy Iranian Books at : Click here -> http://www.IranBookShop.com

« previous php.general (#4364) next »