Freelance PHP programmer India | Freelance web developer india | Web development India | web developer CV india | Compiling PHP and Apache 2 from source on Linux
OCI8 Functions
PHP Manual

oci_fetch_object

(PHP 5, PECL oci8 >= 1.1.0)

oci_fetch_objectReturns the next row from the result data as an object

Description

object oci_fetch_object ( resource $statement )

Returns the next row from the result data as an object.

Subsequent calls to oci_fetch_object() will return the next row from the result or FALSE if there are no more rows.

For details on the data type mapping performed by the oci8 driver, see the datatypes supported by the driver

Parameters

statement

A valid OCI statement identifier.

Return Values

Returns an object, which attributes correspond to fields in statement, or FALSE if there are no more rows in the statement .

Note: This function sets NULL fields to the PHP NULL value.

Note: Oracle returns all field names in uppercase and associative indices in the result object will be uppercased too.

See Also


OCI8 Functions
PHP Manual