ADOdb Library for PHP Manual
Prev FetchInto Next

FetchInto(&$array)

Sets $array to the current row. Returns PEAR_Error object if EOF, 1 if ok (DB_OK constant). If PEAR is undefined, false is returned when EOF. FetchInto( ) internally moves to the next record after returning the current row.

FetchRow() is easier to use. See above.


Prev Home Next
FetchRow Up FetchObject

Sponsored by phpLens