Re: count
| From: | David Robley | Date: | Thu, 11 Apr 2002 10:56:12 +0000 |
| Subject: | Re: count | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-18424@lists.php.net to get a copy of this message | ||
In article <20020411104550.8417.qmail@pb1.pair.com>,
allenr@fwd.areur.army.mil says...
> I would like to count all the total records from a database. How would I go
> about doing that???
Do a COUNT * on each table and total the results? Although the results
may actually not mean much depending on your DB structure. Or do you
really mean count records in a _table_?
--
David Robley
Temporary Kiwi!
Quod subigo farinam