One day, the system is switched from Windows to Linux, and Ubuntu is used. I started to build my web server, php5.2.6, mysql5.0.45, nginx0.5.35. everything is normal, and phpinfo is also displayed. Next, we will start to build a project site. The strange thing is that one project uses adodb to connect to the database without displaying data. Use various methods: newmysqli (), mysqli_connect (), mysql_connect
One day, the system is switched from Windows to Linux, and Ubuntu is used.
I started to build my web server, php5.2.6, mysql 5.0.45, nginx 0.5.35. Everything is normal, and phpinfo is also displayed. Next, we will start to build a project site. The strange thing is that one project uses adodb to connect to the database without displaying data. New mysqli (), mysqli_connect (), and mysql_connect () can all be displayed normally. If the addb connection fails, you can view various materials online.
$ Conn = ADONewConnection ('mysqli'); $ conn-> debug = true; enable the error log to find a field in the SQL statement, which is not in the database.
I use the latest program, but the data structure is old, so this is the case. Because I am not very familiar with adodb, I haven't found out why for a long time.