[PHP] Resources for programming with PDO
I’ve asked Twitter user what kind of PHP class would have used for a project and I was (and I am) in doubt between MDB2 (a PEAR Abstraction layer class) and mysqli extension. Someone has pointed out PDO, so I’m collecting some links to see what does this extension do:
- PDO on PHP web site: surely the first place to look at;
- Introduction to PDO on PHPPro: a big article which illustrates how to connect to different DBMS;
- Prepared statement with PDO ;
- Using PDO Objects in PHP 5, Handling Result Sets and More with PDO Objects in PHP 5 and Working with Prepared Queries with PDO Objects in PHP 5 all by Alejandro Gervasio;
- First steps with PDO;
- Fetching data with PDO;
- Developing MySQL Database Applications With PHP Part 3: Using the PDO Extension With MySQL Driver, pdo_mysql;
- PDO: The underestimated way to connect to your database;