MDB_Common::fetchInto()
MDB_Common::fetchInto() – fetch a row into a variable
Synopsis
require_once 'MDB.php';
mixed fetchInto (
resource
$result
, integer
$fetchMode
= MDB_FETCHMODE_DEFAULT
, integer
$rownum
= null
)
Description
Fetch a row and return data in an array.
Parameter
-
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