Re: Return Row count with OCI
| From: | Philippe Saladin | Date: | Wed, 23 May 2001 06:38:40 +0000 |
| Subject: | Re: Return Row count with OCI | ||
| References: | 1 | Groups: | php.db |
| Request: | Send a blank email to php-db+get-9557@lists.php.net to get a copy of this message | ||
ocifetchstatement() should do the trick. It returns the number of rows.
See example at :
http://dev.nexen.net/docs/php/annotee/manuel_function.ocifetchstatement.php
Best regards,
Philippe
"Worawisut Pinyoyang" <worawisu@loxinfo.co.th> a écrit dans le message news:
5.1.0.14.2.20010523105526.00a655b8@myhome1.loxinfo.co.th...
> To all PHP-db guruz!
> I'm novice on Oracle(OCI).In mysql has mysql_num_rows().
> When i try to find OCI function about num rows i see OCIRowCount().
> But in the manual told me that it cannot use with select statement.
> How can i know the number of selected row?
>
> Thanks in advance
> -Worawisut
>
>
> --
> PHP Database Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-db-unsubscribe@lists.php.net
> For additional commands, e-mail: php-db-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>