PHP Classes

PHP PDO Database Handler Class: Wrapper to access SQL databases using PDO

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 192 This week: 2All time: 8,514 This week: 77Up
Version License PHP version Categories
database_handler 1.0Freeware5PHP 5, Databases


This class provides a arapper to access SQL databases using PDO.

It can establish a connection with a database server using a database connection string, a user name and a password defined in constants set outside the class script.

The class can perform several types of operations to access a database like:

- Executing a SQL query with optional parameters
- Get the query results into an array with the whole results set, or just one row or just one value

Picture of Alireza Tajik
  Performance   Level  
Name: Alireza Tajik <contact>
Classes: 1 package by
Country: Iran Iran
Age: 38
All time rank: 413087 in Iran Iran
Week rank: 92 Up3 in Iran Iran Up

  Files folder image Files  
File Role Description
Plain text file database_handler.php Class database handler

 Version Control Unique User Downloads Download Rankings  
This week:2
All time:8,514
This week:77Up