PHP Classes

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

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 514 All time: 5,729 This week: 170Up
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
  Performance   Level  
Name: Raul is available for providing paid consulting. Contact Raul .
Classes: 7 packages by
Country: Brazil Brazil
Age: 32
All time rank: 61243 in Brazil Brazil
Week rank: 703 Down47 in Brazil Brazil Down

  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:514
This week:0
All time:5,729
This week:170Up