downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

oci_fetch_object> <oci_fetch_array
Last updated: Fri, 13 Nov 2009

view this page in

oci_fetch_assoc

(PHP 5, PECL OCI8 >= 1.1.0)

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

Descrição

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.

Para detalhes sobre o mapeamento dos tipos de dados realizado pelo driver oci8, veja tipos de dados suportados pelo driver

Parâmetros

statement

A valid OCI statement identifier.

Valor Retornado

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

Nota: Esta função assimila campos NULL para o o NULL do PHP.

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

Veja Também

  • oci_fetch_array() - Returns the next row from the result data as an associative or numeric array, or both
  • oci_fetch_object() - Returns the next row from the result data as an object
  • oci_fetch_row() - Returns the next row from the result data as a numeric array
  • oci_fetch_all() - Fetches all rows of result data into an array



add a note add a note User Contributed Notes
oci_fetch_assoc
There are no user contributed notes for this page.

oci_fetch_object> <oci_fetch_array
Last updated: Fri, 13 Nov 2009
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites