Freetuts.org DB class is a MySQL-PDO database class with SQL abstraction methods that will help you reduce the amount of SQL code you need to write to minimum.