PHP Classes

PHP PDO Singleton Database Wrapper: Execute common MySQL queries using PDO

Recommend this page to a friend!
  Info   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum (4)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStarStar 63%Total: 1,105 All time: 3,394 This week: 204Up
Version License PHP version Categories
pdo_db_singleton 1.0GNU General Publi...5.1PHP 5, Databases, Design Patterns
Description 

Author

This class that can execute common MySQL queries using PDO.

It uses the singleton design pattern to connect to a given MySQL database and execute SELECT, INSERT, UPDATE and DELETE prepared queries from lists of parameters that specify the involved tables, fields, values, conditions, etc..

Queries that return results may return them as a single array or or single value.

Recommendations

PDO wrapper
I need to feed a blog

Picture of abdul rashid
Name: abdul rashid <contact>
Classes: 1 package by
Country: India India
Age: 39
All time rank: 2222134 in India India
Week rank: 578 Up42 in India India Up

  Files folder image Files  
File Role Description
Plain text file Database.singleton.php Class Database Class File
Accessible without login Plain text file examples.php Example Example File for usage of the Database class

 Version Control Unique User Downloads Download Rankings  
 0%
Total:1,105
This week:0
All time:3,394
This week:204Up
User Ratings User Comments (3)
 All time
Utility:90%StarStarStarStarStar
Consistency:95%StarStarStarStarStar
Documentation:-
Examples:85%StarStarStarStarStar
Tests:-
Videos:-
Overall:63%StarStarStarStar
Rank:1056
 
useful
9 years ago (Alok Agrawal)
52%StarStarStar
impressive - especially since it handles the binding with jus...
10 years ago (gen delivery)
70%StarStarStarStar
Very good program.
11 years ago (Jigar Patel)
70%StarStarStarStar