Problems related to adodb

Source: Internet
Author: User
Problems with adodb & nbsp; when new users are on the road, using adodb to establish mysql connections for dynamic websites. How does adodb establish a mysql connection? The ado class library has been downloaded, but in which folder should I put it after decompression? The running page prompts include (adoadodb. inc. php) & nbsp; [function. include]: & nbsp; failed & nbsp; to & adodb
When new users are on the road, dynamic websites are achieved by using adodb to establish mysql connections. How does adodb establish a mysql connection? The ado class library has been downloaded, but in which folder should I put it after decompression? The running page prompts include (ado/adodb. inc. php) [function. include]: failed to open stream: No such file or directory in C: \ AppServ \ www \ yule \ conn. php on line 2; how can I modify it?
Also, after installing ado, do you still need to create the "ado/adodb. inc. php" php page in the yule folder to run properly?
Please take a look.


------ Solution --------------------
If you want to work, use the mysql function library that comes with php to connect to mysql.
If you use adodb to connect to mysql, php actually calls the COM object. see the com function library in the php Manual.
------ Solution --------------------
New users should learn from the basics honestly, and do not always want to be opportunistic.
Php is not java and is not required by oop.

Learning from discrete functions is easier to improve

The adodb class hides most database operations, making it difficult to understand database operation control.
The adodb class is written based on the php4 code and is not conducive to exploring Object-Oriented Learning in the future.

But you can learn to use the PDO class at the beginning, which is simple and efficient.
The only drawback is that a small number of users are used and it is difficult to solve problems.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.