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.
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 module.
v5/reference/connection/fetchinto.1452648643.txt.gz · Last modified: 2017/04/21 11:35 (external edit)