PHP K�sikirja
Edellinen |  | Seuraava

# oci_fetch_object

(PHP 5)

oci_fetch_object -- Returns the next row from the result data as an object

## Description

object oci_fetch_object ( resource statement )

oci_fetch_object() returns the next row from the result data as an object, which attributes correspond to fields in statement.

> Huomaa: This function sets NULL fields to PHP `NULL` value.

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

> Huomaa: Don't forget, that Oracle returns all field names in uppercase and attributes' names in the result object will be in uppercase as well.

See also oci_fetch_array(), oci_fetch_assoc(), oci_fetch_row() and oci_fetch_all().

Edellinen | Alkuun | Seuraava
oci_fetch_assoc | Ylös | oci_fetch_row