Re: Number of rows

From: Date: Tue, 04 Mar 2003 20:28:19 +0000
Subject: Re: Number of rows
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-138162@lists.php.net to get a copy of this message
> I am using the folling code to list all of my tables in a database: > however, i would like to show the user how many rows there are in each table > (where i have put numrows), how could i do this? This will be costly on process time, but you could just do a SELECT COUNT(*) on all the tables. If you find a way to do it with a simple PHP command (without a self-made function), I'd love to know.

« previous php.general (#138162) next »