$db_conn = new COM("ADODB.Connection");
$dbname = realpath("..\databas.mdb");
$db_conn->open("DRIVER={Microsoft Access Driver (*.mdb)};DBQ=$dbname");
$rs = $db_conn->execute("Select * from Table");
$field0 = $rs->Fields(0);
$field1 = $rs->Fields(1);
while (!$rs->EOF) {
print $field0->value . " " . $field1->value . "
";
$rs->MoveNext();
}
$rs->Close();
$db_conn ->Close();
?>