Simple PDO Connection and select


/ Published in: PHP
Save to your folder(s)

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.

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.