MDB_Common::fetchInto() – fetch a row into a variable


require_once 'MDB.php';

mixed fetchInto ( resource $result , integer $fetchMode = MDB_FETCHMODE_DEFAULT , integer $rownum = null )


Fetch a row and return data in an array.


resource $result

result identifier

integer $fetchMode

format of fetched row

integer $rownum

the row number to fetch

Return value

mixed - an array or NULL, if no more rows

fetch the first row (Previous) delete the result set (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.