Re: Row Count
| From: | Dan Shirah | Date: | Tue, 10 Jun 2008 17:49:44 +0000 |
| Subject: | Re: Row Count | ||
| References: | 1 2 3 4 5 6 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-275206@lists.php.net to get a copy of this message | ||
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.
On 6/10/08, Daniel Brown <parasane@gmail.com> wrote:
>
> On Tue, Jun 10, 2008 at 1:43 PM, Dan Shirah <mrsquash2@gmail.com> wrote:
> >
> > I'm not getting any errors, but no number/data displays for $rows when it
> > should be telling me there is over 100,000 records.
> >
> > Any ideas why it isn't returning a number value for $rowcount[0]/$rows?
>
> Try to print_r($rowcount);
>
> --
> </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.
>