PHP Manual
Prev |  | Next

# oci_fetch

(PHP 5)

oci_fetch -- Fetches the next row into result-buffer

## Description

bool oci_fetch ( resource statement )

oci_fetch() fetches the next row (for SELECT statements) into the internal result-buffer.

Returns `TRUE` on success or `FALSE` on failure.

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

> Note: In PHP versions before 5.0.0 you must use ocifetch() instead. This name still can be used, it was left as alias of oci_fetch() for downwards compatability. This, however, is deprecated and not recommended.

Prev | Home | Next
oci_fetch_row | Up | oci_field_is_null