PHP Classes

DB connection using MySQL and MySQLi: Access MySQL databases using MySQL or MySQLi

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 418 All time: 6,401 This week: 163Up
Version License PHP version Categories
db-for-mysql-mysqli 1.0BSD License5PHP 5, Databases


This package can access MySQL databases using MySQL or MySQLi.

It defines a common interface for accessing databases and implementation classes that implement that interface using either the MySQL or the MySQLi extension.

The common interface defines functions to connect to a MySQL database, execute INSERT or REPLACE queries from parameter lists, execute SELECT queries and retrieve result single values, single rows or multiple rows into an array, and create tables.

Picture of Pankaj Kumar Jha
Name: Pankaj Kumar Jha <contact>
Classes: 2 packages by
Country: India India
Age: 41
All time rank: 2539151 in India India
Week rank: 405 Up27 in India India Up

  Files folder image Files  
File Role Description
Accessible without login Plain text file test.php Example Example script
Plain text file clsDBMysql.php Class class to connect using mysql
Plain text file clsDBMySqli.php Class Class for connect using mysqli
Plain text file interfaceDB.php Class Interface for Db connection

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,401
This week:163Up