PHP page shows error with the new version of Wampserver64
Dear,
My problem is no longer importing databases to phpMyAdmin considering the new version of Wampserver64 installed. It has already been resolved.
The problem is that all my PHP pages with a database connection have an error, or better, they don't work.
Example of one of the pages showing an error message.
Notice: Undefined variable: PDO in C: \ wamp64 \ www \ my pages \ versao_03 \ index.php on line 62
Fatal error: Uncaught Error: Call to a member function query () on null in C: \ wamp64 \ www \ my pages \ versao_03 \ index.php on line 62
Error: Call to a member function query () on null in C: \ wamp64 \ www \ my pages \ version_03 \ index.php on line 62
Line 62, in the example code is:
$ result = $ PDO-> query ($ sql);
Please, what do I lose in returning Wampserver to the version it was in? It predates this Wampserver64, but it worked.
This new version touches a lot. Do I have to change the page code in PHP.
The SQL I have in the database that previously worked were tested on phpMyAdmin with the Wampserver64 version and the result was satisfactory. But there is no point working in phpMyAdmin and the pages do not work.
I repeat, I would like to go back to the previous version of Wampserver. Please, what do you think?
Thank you.
Dear,
My problem is no longer importing databases to phpMyAdmin considering the new version of Wampserver64 installed. It has already been resolved.
The problem is that all my PHP pages with a database connection have an error, or better, they don't work.
Example of one of the pages showing an error message.
Notice: Undefined variable: PDO in C: \ wamp64 \ www \ my pages \ versao_03 \ index.php on line 62
Fatal error: Uncaught Error: Call to a member function query () on null in C: \ wamp64 \ www \ my pages \ versao_03 \ index.php on line 62
Error: Call to a member function query () on null in C: \ wamp64 \ www \ my pages \ version_03 \ index.php on line 62
Line 62, in the example code is:
$ result = $ PDO-> query ($ sql);
Please, what do I lose in returning Wampserver to the version it was in? It predates this Wampserver64, but it worked.
This new version touches a lot. Do I have to change the page code in PHP.
The SQL I have in the database that previously worked were tested on phpMyAdmin with the Wampserver64 version and the result was satisfactory. But there is no point working in phpMyAdmin and the pages do not work.
I repeat, I would like to go back to the previous version of Wampserver. Please, what do you think?
Thank you.