obj fetchNextObj( optional bool $upperCaseKeys=false )
The function fetchNextObj()
returns the current record from a recordset as an object, and advances the record pointer.
/* * Connection assumed */ $result = $db->Execute('SELECT * FROM Employees'); while (!$result->EOF){ $obj = $result->fetchNextObj(); print_r($obj); /* * Prints : * * ADOFetchObj Object ( [emp_no] => 10001 [birth_date] => 1953-09-02 [first_name] => Georgi [last_name] => Facello [gender] => M [hire_date] => 1986-06-26 ) }