RE: [PHP] Can PHP for Oracle randomly access rows in a result set?
| From: | Neil Kimber | Date: | Mon, 19 Mar 2001 10:52:44 +0000 |
| Subject: | RE: [PHP] Can PHP for Oracle randomly access rows in a result set? | ||
| References: | 1 | Groups: | php.db php.general |
| Request: | Send a blank email to php-db+get-7591@lists.php.net to get a copy of this message | ||
The OCIFetchStatement() function returns a resultset to PHP that is actually
a multi-dimensional array. You can randomly access this array however you
like.
-----Original Message-----
From: Thies C. Arntzen [mailto:thies@thieso.net]
Sent: 19 March 2001 10:43
To: Andrew Halliday
Cc: php-general@lists.php.net; php-db@lists.php.net
Subject: Re: [PHP] Can PHP for Oracle randomly access rows in a result
set?
On Mon, Mar 19, 2001 at 01:19:44PM +1030, Andrew Halliday wrote:
> Can PHP for Oracle randomly access rows in a result set?
>
> I have read documentation for both Oracle functions (ora_*) and Oracle 8
> functions (OCI_*) but cant seem to find a way to randomly access rows in a
> result set like you can with PostgreSQL or MySQL ... whats the story
here?!
> Are we FORCED to access the result set sequentially with an Oracle
database?
> Is that a restriction of the DB or PHP?
that's an oracle restriction.
tc
--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
For additional commands, e-mail: php-general-help@lists.php.net
To contact the list administrators, e-mail: php-list-admin@lists.php.net