PHP 手冊
前一頁 |  | 下一頁

# 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).

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

Subsequent call to oci_fetch_assoc() will return next row or `FALSE` if there is no more rows.

> 注: Don't forget, that Oracle returns all field names in uppercase and associative indices in the result array will be uppercased too.

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

前一頁 | 內容 | 下一頁
oci_fetch_array | 上一層 | oci_fetch_object