PHP Classes

Connect: MySQL database access wrapper

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
StarStarStarStar 60%Total: 2,131 All time: 1,844 This week: 57Up
Version License Categories
connect 1.0FreewareDatabases
Description 

Author

This is a very simple MySQL database wrapper class.

It can establish MySQL database connection using configuration values from given configuration file in the .ini format.

It can also execute SQL queries, retrieve the result set row count, retrieve the result set row data, and retrieve the last inserted id.

Picture of ashwin suresh morey
Name: ashwin suresh morey <contact>
Classes: 5 packages by
Country: India India

 

  Files folder image Files (4)  
File Role Description
Accessible without login Plain text file documentation Doc. document file explaining the class
Plain text file db_connect.php Class class file
Accessible without login Plain text file example.php Example usage of class file
Accessible without login Plain text file web.ini Data php style ini file

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  
 0%
Total:2,131
This week:0
All time:1,844
This week:57Up
User Ratings User Comments (3)
 All time
Utility:75%StarStarStarStar
Consistency:71%StarStarStarStar
Documentation:85%StarStarStarStarStar
Examples:75%StarStarStarStar
Tests:-
Videos:-
Overall:60%StarStarStarStar
Rank:1137
 
The example is incorrect as it calls db_connect.
14 years ago (morena fiore)
65%StarStarStarStar
Excellent
15 years ago (kishore kumar)
80%StarStarStarStarStar
The conection use username var, but it's defined userName, pl...
16 years ago (Cristian Calomino)
65%StarStarStarStar