/ Published in: PHP
This is the basic code that you need to know to connect and list data with PDO.
Don't use de old method (mysql_connect and mysqli_connect) to connect and interact with databases.
Don't use de old method (mysql_connect and mysqli_connect) to connect and interact with databases.