PHP Handbuch
Zurück |  | Weiter

# oci_fetch_assoc

(PHP 5)

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

## Beschreibung

array oci_fetch_assoc ( resource statement )

Returns the next row from the result data as an associative array.

Calling oci_fetch_assoc() is identical to calling oci_fetch_array() with `OCI_ASSOC`.

A subsequent call to oci_fetch_assoc() will return the next row 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

## Parameter Liste

`statement`

  A valid OCI statement identifier.

## Rückgabewerte

Returns an associative array, or `FALSE` if there are no more rows in the `statement`.

> Anmerkung: Diese Funktion setzt NULL Felder auf den PHP Wert `NULL`.

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

## Siehe auch

oci_fetch_array()
oci_fetch_object()
oci_fetch_row()
oci_fetch_all()

Zurück | Zum Anfang | Weiter
oci_fetch_array | Nach oben | oci_fetch_object