标签:
1,参考W3CSHOOL
http://www.w3cschool.cc/php/php-pdo.html
2,连接access
<?php $db = new PDO("odbc:driver={microsoft access driver (*.mdb)}; dbq=".realpath("data.mdb")) or die("Connect Error"); $rs = $db->query(‘select * from user‘); print "<pre>"; print_r($rs->fetchAll()); print "</pre>";
标签:
原文地址:http://my.oschina.net/acitiviti/blog/382741