Description of the ADODB class in PHP. Although PHP is a powerful tool for building a Web system, the function of accessing the database by PHP has never been standardized, although PHP is a powerful tool for building a Web system, the function of
[PHP] link to this article on ADODB:
Http://www.openphp1.cn/index.php/article/3/154/index.html
1. Preface
ADODB is short for Active Data Objects Data Base. it is a function component used by PHP to access the database. Chen Yingguang, the host of
1. preface ADODB is short for ActiveDataObjectsDataBase. it is a function component for accessing the database in PHP. Chen Yingguang, the host of the SFS3 system (Campus Free Software Exchange Network student affairs system) plan, decided to use
Although PHP is a powerful tool for building a Web system, the function of accessing the database by PHP has never been standardized, use a different and incompatible application interface (API ). In order to fill this gap, ADODB emerged. Once the
ThinkPHP has a built-in abstract database access layer to encapsulate different database operations. we only need to use public Db classes for operations, instead of writing different code and underlying implementation for different databases, the
Preface why use the database class library? A common mistake for Beginners (or even non-beginners) is the lack of future considerations when developing applications. If one day your program needs to use other databases, do you still need to write a
Although PHP is a powerful tool for building WEB systems, the functionality of PHP Access databases has not been standardized, and each database uses a different and incompatible application interface (API). In order to fill this shortcoming, there
Although PHP is a powerful tool for building WEB systems, the functionality of PHP Access databases has not been standardized, and each database uses a different and incompatible application interface (API). In order to fill this shortcoming, there
Use the ADODB class. MySQL is the most common database in PHP, so I think you will like the following program code. it is linked to the MySQL server of localhost. the database name is mydab and runs
MySQL exampleThe most common database in PHP is
Although PHP is a powerful tool for building WEB systems, the functionality of PHP Access databases has not been standardized, and each database uses a different and incompatible application interface (API). In order to fill this shortcoming, there
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.