bool fetchInto( &$recordArray )
The PEAR compatible function fetchInto()
retrieves a recordset into an array. The array must be passed by reference into the method.
/* * database connection assumed */ $SQL = "SELECT * FROM act"; $result = $db->execute($SQL); while (!$result->EOF){ $arr = array(); $result->fetchInto(&$arr); print_r($arr); }
This command is no longer supported in the PEAR mdb module.