PHP Classes

PHP PDO MySQL Class: Access MySQL databases using PDO

Recommend this page to a friend!
     
  Info   View files Files   Install with Composer Install with Composer   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 328 All time: 7,162 This week: 49Up
Version License PHP version Categories
php_pdo_class 1.0.0GNU General Publi...7PHP 5, Databases
Description 

Author

This class is a wrapper to access MySQL databases using PDO.

It can connect to a given MySQL server using PDO and then can perform several types of database access operations. Currently it can:

- Perform arbitrary SQL queries
- Bind parameter values of prepared queries
- Retrieve all rows of query results into an array
- Retrieve a single row of query results into an array
- Retrieve the ID value of the last recorded inserted into a table
- Begin, end and cancel a transaction

Picture of Clement Sam
  Performance   Level  
Name: Clement Sam is available for providing paid consulting. Contact Clement Sam .
Classes: 4 packages by
Country: Ghana Ghana
Age: 26
All time rank: 29422 in Ghana Ghana
Week rank: 227 Up3 in Ghana Ghana Down
Innovation award
Innovation award
Nominee: 1x

Recommendations

PDO Class
I need a class to connect to my db (mysql). Now my code is a old

how to control users on session
when one user login with one account with two computer

  Files folder image Files (1)  
File Role Description
Plain text file pdo.class.php Class Class source

The PHP Classes site has supported package installation using the Composer tool since 2013, as you may verify by reading this instructions page.
Install with Composer Install with Composer
 Version Control Unique User Downloads Download Rankings  
 100%
Total:328
This week:0
All time:7,162
This week:49Up
User Comments (2)
Concise but efficient
5 years ago (Ebenezer Ackahbi)
60%StarStarStarStar
Wrapping the PDO class into another class and passing it off ...
5 years ago (Alexander Ivanou)
2%Star