Re: Row Count
| From: | Daniel Brown | Date: | Tue, 10 Jun 2008 17:54:10 +0000 |
| Subject: | Re: Row Count | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275202@lists.php.net to get a copy of this message | ||
Quit top-posting, Shirah. You know better than that. ;-P
On Tue, Jun 10, 2008 at 1:49 PM, Dan Shirah <mrsquash2@gmail.com> wrote:
> print_r($rowcount); returns Array ( [(count(*))] => 110796.0 ) and 110796 is
> the correct number of rows in my table, but that number isn't coming through
> the the variable.
Then, despite the fact that it's not working as $rowcount[0], it
should work as $rowcount['(count(*))'].
--
</Daniel P. Brown>
Dedicated Servers - Intel 2.4GHz w/2TB bandwidth/mo. starting at just
$59.99/mo. with no contract!
Dedicated servers, VPS, and hosting from $2.50/mo.