v5:reference:connection:fetchinto
                This is an old revision of the document!
fetchInto
Syntax
bool fetchInto(
     &$recordArray
     )
Description
The PEAR compatible function fetchInto() retrieves a recordset into an array. The array must be passed by reference in 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.1452820742.txt.gz · Last modified:  (external edit)
                
                