Re: Count Number Of Rows (Help)
| From: | Alan Richmond | Date: | Fri, 03 Sep 2004 10:36:16 +0000 |
| Subject: | Re: Count Number Of Rows (Help) | ||
| References: | 1 2 3 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-14398@lists.php.net to get a copy of this message | ||
On Wednesday 01 September 2004 08:23, Yuan N Yudistira wrote:
> and pass it to an object
>
> $oContract->query($sQuery);
>
> How to find out and count number of rows of the search result,...
> if
> I can not use $oContract->count();
I assume you are using DB or MDB...
Check the manual:
http://pear.php.net/manual/en/package.database.db.db-result.numrows.php
or
http://pear.php.net/manual/en/package.database.mdb.mdb-common.numrows.php
--
Alan Richmond
Aardwolf Web
http://www.aardwolfweb.com