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.