PHP Classes

Full DB-PDO abstraction: Store and retrieve database data as objects

Recommend this page to a friend!
  Info   View files Example   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 68%Total: 276 All time: 7,626 This week: 156Up
Version License PHP version Categories
full-db-pdo-abstract 3.3GNU Lesser Genera...5.0PHP 5, Databases


This package can store and retrieve database data as objects using PDO.

It provides a base class that connects to a database using PDO.

Other classes can query database tables and retrieve the results as objects with the variables set to the result column names.

It is also possible to insert, update or delete records using the same or newly created objects set with the variables with values for the respective fields that are intended to be added or changed.


connect to pdo and display results of queries
I would like a PDO connection to a mysql db & show query results

PDO wrapper
I need to feed a blog

Picture of Pierre Delporte
  Performance   Level  
Name: Pierre Delporte <contact>
Classes: 1 package by
Country: Belgium Belgium
Age: 54
All time rank: 388321 in Belgium Belgium
Week rank: 456 Up5 in Belgium Belgium Up

  Files folder image Files  
File Role Description
Plain text file data.php Class Class to handle the field names and their values
Plain text file TableRow.php Class This class is used to hold fields and values of data table
Plain text file Table.php Class This class is use to interact with the DB (select, update, insert, delete)
Plain text file DB.php Class The class to connect to the DB
Accessible without login Plain text file global.php Conf. File the constant definition for the connection to the DB
Accessible without login Plain text file index.php Example Exemples of how to uses the classes

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:7,626
This week:156Up
 User Ratings  
 All time