OCI8 Funciones
PHP Manual

oci_fetch_assoc

(PHP 5, PECL OCI8 >= 1.1.0)

oci_fetch_assocReturns the next row from a query as an associative array

Descripción

array oci_fetch_assoc ( resource $statement )

Returns an associative array containing the next result-set row of a query. Each array entry corresponds to a column of the row. This function is typically called in a loop until it returns FALSE, indicating no more rows exist.

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

Parámetros

statement

Un identificador de declaración OCI8 válido creado por oci_parse() y ejecutado por oci_execute(), o un identificador de declaración REF CURSOR.

Valores devueltos

Returns an associative array. If there are no more rows in the statement then FALSE is returned.

Notas

Nota:

See oci_fetch_array() for examples of fetching rows.

Ver también


OCI8 Funciones
PHP Manual