Manuale PHP
Indietro |  | Avanti

# oci_fetch_assoc

(PHP 5)

oci_fetch_assoc -- Returns the next row from the result data as an associative array

## Description

array oci_fetch_assoc ( resource statement )

oci_fetch_assoc() returns the next row from the result data as an associative array (identical to oci_fetch_array() call with `OCI_ASSOC` flag).

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

A subsequent call to oci_fetch_assoc() will return the next row or `FALSE` if there are no more rows.

> Nota: Oracle returns all field names in uppercase and associative indices in the result array will be uppercased too.

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

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

Indietro | Partenza | Avanti
oci_fetch_array | Risali | oci_fetch_object