How to find out the number of rows in a table?
| From: | Andy | Date: | Thu, 24 Jan 2002 16:36:22 +0000 |
| Subject: | How to find out the number of rows in a table? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-16152@lists.php.net to get a copy of this message | ||
Hi there,
I am trying to find out the number of rows in a table. The mysql docu says
there is a mysql_num_rows statement but it requiers a sql statement in
front. How could I do this more efficiently? Can anybody make an example,
please? I am sure that there is an more easy way.
Cheers Andy