Probably there is better solution
| From: | afan | Date: | Thu, 11 Jan 2001 20:24:02 +0000 |
| Subject: | Probably there is better solution | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-4922@lists.php.net to get a copy of this message | ||
Hi all,
I have to know how many entries I have in table/database. Usually, I use
$result = mysql_query("SELECT any_name_of_column FROM table_name", $db);
while($myrow = mysql_fetch_array($result));
{
$Counter++;
}
echo"No of entries: $Checker<br>\n";
Probably there is better and faster solution.
Thanks for any help!
Afan