note 8097 added to OCIRowCount
| From: | justin at flakmag dot com | Date: | Sat, 26 Aug 2000 21:21:37 +0000 |
| Subject: | note 8097 added to OCIRowCount | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-3421@lists.php.net to get a copy of this message | ||
Reply to batti@digito.com:
You are right, this works with SELECT as well, however, you are wrong about needing to
OCIFetchStatement() first - you need only OCIParse() first.
This is good because OCIParse() leaves the result set untouched, where OCIFetchStatement() does not.
P.S. the PHPLIB db_oci8.inc abstraction layer uses this method to get numrows.
http://www.php.net/manual/function.ocirowcount.php