include('./class/adodb/adodb.inc.php'); $access = realpath('./rs.mdb'); $myDSN = 'PROVIDER=Microsoft.Jet.OLEDB.4.0;'.'DATA SOURCE='. Database Password=123456;";
$db->Connect($myDSN); !$recordSet)
print $db->ErrorMsg();
else
while (!$recordSet->EOF) {
print $recordSet->fields[0].' '.$recordSet->fields[1].'
'; # Selective execution
$db->Close(); # Selective execution
?>
http://www.bkjia.com/PHPjc/319014.html
www.bkjia.com
true
http: //www.bkjia.com/PHPjc/319014.html
TechArticle