In part 2 of ‘Avoid the Original MySQL Extension’ tutorial, Thomas Punt writes about the second alternative PDO (PHP Data Objects) and covers the basics, such as how to connect to the MySQL database, select the database you wish to connect to and how to write a query.
He also covers some more intermediate details of the PDO class, such as prepared statements, transactions and manipulating default behavior in PDO.
Below is a link to the article, please feel free to leave comments about what you thought.
Avoid the Original MySQL Extension Part 2/ - By Thomas Punt
- Thomas Kauran