PHP Classes

PDO wrapper singleton: Database access wrapper using PDO

Recommend this page to a friend!
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 1,229 All time: 3,108 This week: 304Up
Version License PHP version Categories
myaccesspdo 0.2Freeware5.0PHP 5, Databases


This class implements a database access wrapper using PDO. It can:

- Setup database connections
- Execute prepared queries
- Retrieve result sets into arrays
- Retrieve the last inserted identifier value

Optionally the class can log all the activity to a class variable.

Picture of alessandro
Name: alessandro <contact>
Classes: 1 package by
Country: Italy Italy
Age: 45
All time rank: 208982 in Italy Italy
Week rank: 654 Up27 in Italy Italy Up

  Files folder image Files  
File Role Description
Plain text file MyAccessPDO.class.php Class Class extends PDO
Plain text file mydb.class.php Class PDO wrapper
Accessible without login Plain text file test Example test class

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:3,108
This week:304Up