====== fetchInto ======
~~NOTOC~~
== 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.
{{tag>PEAR}}