PHP数据库链接类(PDO+Access)
程序员文章站
2022-06-06 11:01:14
...
PHP PDO Access链接
="../../App_Data/sd#f#45G_!.mdb"="DRIVER={Microsoft Access Driver (*.mdb)}; DBQ=".(->conn= PDO("odbc:") or ("PDO Connection faild."
Read(,==->conn->prepare(=(( ->bindValue(":".,[->execute() or ('sql error:'.=->
Edit(,==->conn->prepare(=(( ->bindValue(":".,[=->execute() or ('sql error' = DbHelpClass();
调用:
->Read('select title from pro where id=:id',(id=>1));
上一篇: ie8 hack_html/css_WEB-ITnose
下一篇: PDO数据库操作类