Home >Backend Development >PHP Tutorial >access database php adodb connection with password access database instance, test successful
include('./class/adodb/adodb.inc.php'); './ rs.mdb ');
$ mydsn =' provider = microsoft.jet.OLEDB.4.0; '.' Data source = '. $ access. "; $ $ Db ->Connect ($myDSN);
while (! $ RecordSet-& GT; EOF) {
Print $ RecordSet-& GT; Fields [0]. ''. $ RecordSet- & GT; Fields [1]. '& LT; Br & GT;'; t; );
}
$recordSet->Close(); # Selective execution
$db->Close(); # Selective execution
?>
The above introduces the access database php adodb connection access database example with password. The test was successful, including the access database content. I hope it will be helpful to friends who are interested in PHP tutorials.