Forum und email

oci_fetch_assoc

(PHP 5, PECL oci8:1.1-1.2.4)

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

Popis

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.

Pre viac detailov o mapovaní dátových typov pomcou oci8 ovládača, pozri dátové typy podporované ovládačom

Parametre

statement

A valid OCI statement identifier.

Vrátené hodnoty

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

Note: Táto funkcie nastavuje NULL políčka na PHP NULL hodnotu.

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