Forum und email
oci_fetch_assoc

oci_fetch_assoc

(PHP 5)

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

Opis

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.

Więcej szczegółów na temat mapowania typów danych dokonywanego przez sterownik oci8 można uzyskać w rozdziale dotyczącym typów danych obsługiwanych przez ten sterownik

Parametry

statement

A valid OCI statement identifier.

Zwracane wartości

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

Notatka: Ta funkcja ustala wartość pól NULL na NULL.

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