ADOdb Library for PHP Manual
Prev MoveNext Next

MoveNext( )

Move the internal cursor to the next row. The fields array is automatically updated. Return false if unable to do so, otherwise true. If false is returned, $this->fields is set to false also.

Example:

    $rs = $db->Execute($sql);
    if (
$rs)
        while (!
$rs->EOF) {
            
ProcessArray($rs->fields);    
            
$rs->MoveNext();
        }


Prev Home Next
Move Up MoveFirst

Sponsored by phpLens