v5:reference:connection:fetchinto
fetchInto
Syntax
bool fetchInto( &$recordArray )
Description
The PEAR compatible function fetchInto()
retrieves a recordset into an array. The array must be passed by reference into the method.
Usage
/* * database connection assumed */ $SQL = "SELECT * FROM act"; $result = $db->execute($SQL); while (!$result->EOF){ $arr = array(); $result->fetchInto(&$arr); print_r($arr); }
PEAR compatibility
This command is no longer supported in the PEAR mdb module.
v5/reference/connection/fetchinto.txt · Last modified: 2016/01/17 00:48 by mnewnham