$conn = new com("adodb.connection"); $connstr = "driver={microsoft access driver (*.mdb)}; dbq=". realpath("data/db.mdb"); $conn->open($connstr); $rs = new com("adodb.recordset"); $rs->open("select * from szd_t",$conn,1,1); while(! $rs->eof) $f = $rs->fields(1); echo $f->value; $rs->movenext();