PHP adodb connection with password access database instance, test successful

高洛峰
Release: 2023-03-04 14:36:02
Original
1897 people have browsed it

Connect($myDSN); $recordSet = $db->Execute('select * from tt'); if (!$recordSet) print $db->ErrorMsg(); else while (!$recordSet->EOF) { print $recordSet->fields[0].' '.$recordSet->fields[1].'
'; $recordSet->MoveNext(); } $recordSet->Close(); # 选择性执行 $db->Close(); # 选择性执行 ?>
Copy after login

For more php adodb connection with password access database examples, please pay attention to PHP Chinese website for related articles about successful test!

source:php.cn
Statement of this Website
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
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!