OCI8 Функции
PHP Manual

oci_fetch_assoc

(PHP 5, PECL oci8 >= 1.1.0)

oci_fetch_assocReturns the next row from the result data as an associative array

Описание

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.

За повече информация относно свързването на типове данни, което се извършва от oci8 драйвера, вижте типовете данни поддържани от драйвера

Параметри

statement

A valid OCI statement identifier.

Връщани стойности

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

Забележка: Тази функция установява NULL полетата със стойността null; в PHP.

Забележка: Oracle returns all field names in uppercase and associative indices in the result array will be uppercased too.

Вж. също


OCI8 Функции
PHP Manual