note 61813 added to function.oci-fetch-all
| From: | jnavratil at houston dot rr dot com | Date: | Sun, 12 Feb 2006 22:46:42 +0000 |
| Subject: | note 61813 added to function.oci-fetch-all | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-103585@lists.php.net to get a copy of this message | ||
The number of rows returned is the number actually fetched, not the number potentially available.
If one limits the number of rows to fetch, the number of rows returned will be bound by that limit.
For example...
$nrows = oci_fetch_all($statement, $results, 0, 1);
would result in a returned value of '0' if there are no rows found for the statement, or
'1' if any rows were found, regardless of the number actually present in the database.
----
Server IP: 216.194.113.175
Probable Submitter: 24.160.91.37
----
Manual Page -- http://www.php.net/manual/en/function.oci-fetch-all.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+61813
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+61813&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+61813&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+61813&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+61813&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+61813&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+61813&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+61813&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+61813&report=yes
Search -- http://master.php.net/manage/user-notes.php