Home  >  Article  >  Backend Development  >  access database php adodb connection with password access database instance, test successful

access database php adodb connection with password access database instance, test successful

WBOY
WBOYOriginal
2016-07-29 08:38:001213browse

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.


Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn