Diagnose errors retrieving data using php and PDO
I am having trouble querying MySQL tables for data using PHP and PDO.
I think I can make a connection to the database successfully but when I attempt to extract any data and display it, there is no output at all.
I don't know where my errors may be because there is nothing returned at all.
I can access the data successfully using the MySQL command window.
I have everything implemented on my Windows 7 computer and am running IIS as the web server.
PHP is 7.1.17 and MySQL is 8.0.
I am hoping that there could be some debugging switch that needs turning on somewhere. Can anyone make any suggestions please?
Subject
Written By
Posted
Diagnose errors retrieving data using php and PDO
June 12, 2018 08:26AM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.