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

search for in the

SQLite3_result::finalize> <SQLite3_result::columnType
Last updated: Fri, 10 Oct 2008

view this page in

SQLite3_result::fetchArray

(No version information available, might be only in CVS)

SQLite3_result::fetchArray Fetches a result row as an associative or numerically indexed array or both

Description

public array SQLite3_result::fetchArray ([ int $mode ] )

Fetches a result row as an associative or numerically indexed array or both. By default, fetches as both.

Parameters

mode

Controls how the next row will be returned to the caller. This value must be one of either SQLITE3_ASSOC, SQLITE3_NUM, or SQLITE3_BOTH. It defaults to SQLITE3_BOTH.

  • SQLITE3_ASSOC: returns an array indexed by column name as returned in the corresponding result set

  • SQLITE3_NUM: returns an array indexed by column number as returned in the corresponding result set, starting at column 0

  • SQLITE3_BOTH: returns an array indexed by both column name and number as returned in the corresponding result set, starting at column 0

Return Values

Returns a result row as an associatively or numerically indexed array or both.



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

SQLite3_result::finalize> <SQLite3_result::columnType
Last updated: Fri, 10 Oct 2008
 
 
show source | credits | stats | sitemap | contact | advertising | mirror sites