php读取mdb数据库例程
程序员文章站
2022-05-26 21:10:32
...
$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();
上一篇: PHP读取汉字的点阵数据
下一篇: nodejs读取去重excel步骤详解