Re: determining number of rows in a mysql table

From: Date: Tue, 30 Mar 2004 05:32:28 +0000
Subject: Re: determining number of rows in a mysql table
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-181772@lists.php.net to get a copy of this message
On Tuesday 30 March 2004 12:33, Andy B wrote: > "select count(*) from tablename" > > actually i would do: > $rows=mysql_query("select count(*) from tablename"); > > echo $rows; Hmmm, have you ever actually tried it? And got the result you wanted? -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* The Microsoft Motto: "We're the leaders, wait for us!" */

« previous php.general (#181772) next »