"; return; } $arr = $rs->GetArray(); //$db->debug = true; global $ADODB_COUNTRECS; $ADODB_COUNTRECS = false; $start = microtime(); for ($i=0; $i < $max; $i++) { $rs =& $db->Execute($sql); $arr =& $rs->GetArray(); // print $arr[0][1]; } $end = microtime(); $start = explode(' ',$start); $end = explode(' ',$end); //print_r($start); //print_r($end); // print_r($arr); $total = $end[0]+trim($end[1]) - $start[0]-trim($start[1]); printf ("
seconds = %8.2f for %d iterations each with %d records
",$total,$max, sizeof($arr)); flush(); //$db->Close(); } include("testdatabases.inc.php"); ?>