DB_result::fetchInto() (Previous) (Next) DB_result::free()

View this page in Last updated: Mon, 02 Jul 2007
English | Dutch | French | German | Hungarian | Japanese | Polish | Russian | Spanish | Plain HTML

DB_result::fetchRow()

DB_result::fetchRow() -- Fetches a row from a result set

Описание

Returns a row of data from a result set then moves the result pointer to the next row. The data can be formatted as an array or an object.

Параметр

integer $fetchmode

the fetch mode to use. The default is DB_FETCHMODE_DEFAULT, which tells this method to use DB's current fetch mode. DB's current default fetch mode can be changed using setFetchMode(). Potential values include:

  • DB_FETCHMODE_ORDERED

  • DB_FETCHMODE_ASSOC

  • DB_FETCHMODE_OBJECT

integer $rownum

the row number to fetch

Возвращаемое значение

mixed - an array or object containing the row's data, NULL when the end of the result set is reached or a DB_Error object on failure

Заметка

Эта функция не должна вызываться статически.

DB_result::fetchInto() (Previous) (Next) DB_result::free()

Download Documentation Last updated: Mon, 02 Jul 2007
Do you think that something on this page is wrong? Please file a bug report or add a note.
User Notes:
There are no user contributed notes for this page.