PHP Classes

PHP PDO Connection Factory: Create PDO objects to connect to a database

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2014-06-30 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 471 All time: 5,570 This week: 1,069Up
Version License PHP version Categories  
connection-factory 1.5GNU General Publi...5.1PHP 5, Databases
Description Author  

This class can create PDO objects to connect to a database.

It can take an array of parameters to establish a connection with a database using PDO.

The parameters can define values like the database driver name, database host, user, password and database name.

The class may also change individual connection parameters after the class object is created.

In the end it returns an object of the PDO class ready to be used by the application.

Picture of Raul
Name: Raul is available for providing paid consulting. Contact Raul .
Classes: 7 packages by
Country: Brazil Brazil
Age: 24
All time rank: 76457 in Brazil Brazil
Week rank: 149 Up10 in Brazil Brazil Up

  Files folder image Files  
File Role Description
Files folder imageCore (1 directory)
Accessible without login Plain text file test.php Example Testing file

  Files folder image Files  /  Core  
File Role Description
Files folder imagelib (1 directory)

  Files folder image Files  /  Core  /  lib  
File Role Description
Files folder imagedb (1 file)

  Files folder image Files  /  Core  /  lib  /  db  
File Role Description
  Plain text file ConnectionFactory Class Class file

 Version Control Unique User Downloads Download Rankings  
 0%Total:471All time:5,570
 This week:0This week:1,069Up