PHP Classes
elePHPant
Icontem

DB Connection: Connect to MySQL and store connections in sessions

Recommend this page to a friend!
  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
2015-09-17 (1 year ago) RSS 2.0 feedNot enough user ratingsTotal: 166 All time: 8,075 This week: 1,081Up
Version Licenses PHP version Categories
db-connection 1.3GNU Free Document...5.2PHP 5, Databases
Description Author

This is a simple class that can connect to MySQL and store connections in sessions.

It can connect to a given MySQL database server using MySQLi and optionally store the connection in a session variable.

The class can also disconnect from the database and clear the respective session variable if it was set.

Picture of Daniel Alan Guerrero Matamoros
  Performance   Level  
Name: Daniel Alan Guerrero ... <contact>
Classes: 7 packages by
Country: Mexico Mexico
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files  
File Role Description
Plain text file db_connect.php Class Main Class of DB connection
Accessible without login Plain text file db_connection_example.php Example Simple example of usage

 Version Control Unique User Downloads Download Rankings  
 0%
Total:166
This week:0
All time:8,075
This week:1,081Up