ADOdb Library for PHP Manual
Prev FetchRow Next

FetchRow()

Returns array containing current row, or false if EOF. FetchRow( ) internally moves to the next record after returning the current row.

Warning: Do not mix using FetchRow() with MoveNext().

Usage:

    $rs
= $db->Execute($sql);
    if (
$rs)
        while (
$arr = $rs->FetchRow()) {
            
# process $arr    
        
}


Prev Home Next
ADORecordSet Up FetchInto

Sponsored by phpLens