DB_Result::fetchInto()

DB_Result::fetchInto() -- fetch a row into a variable

Synopsis

require_once 'DB.php';

mixed fetchInto (mixed $arr [, integer = $fetchMode DB_FETCHMODE_DEFAULT [, integer $rowNum = NULL]])

Description

Copies a row of a result set into a variable. See the "Fetch" section for further information.

Parameter

mixed $arr

reference to a variable to contain the row

integer $fetchMode

format of fetched row

integer $rowNum

the row number to fetch

Return value

mixed - an array or NULL, if no more rows

Note

This function can not be called statically

See

DB_Result::fetchRow()