setFetchMode(ADODB_FETCH_ASSOC); $rs = $db->Query('select firstname,lastname from adoxyz'); $cnt = 0; while ($arr = $rs->FetchRow()) { print_r($arr); print ""; $cnt += 1; } if ($cnt != 50) print "Error in \$cnt = $cnt"; ?>