时间:2021-07-01 10:21:17 帮助过:36人阅读
$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();
http://www.bkjia.com/PHPjc/630839.htmlwww.bkjia.comtruehttp://www.bkjia.com/PHPjc/630839.htmlTechArticle读取mdb数据库教程例程 $conn = new com(adodb.connection); $connstr = driver={microsoft access driver (*.mdb)}; dbq=. realpath(data/db.mdb); $conn-open($connstr); $rs = new...