PHP Classes

Bobo PHP DB Class: Simple MySQL database class

Recommend this page to a friend!
  Info   View files View files (6)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings
2023-04-22 (10 months ago) RSS 2.0 feedStar 17%Total: 454 All time: 6,123 This week: 90Up
Version License PHP version Categories
bobophpdb 1.2Freely Distributable4Databases


This class is a wrapper to simplify the access to MySQL databases.

It can execute given SQL queries after establishing a connection to a MySQL server if the connection was not already established. The connections can also be opened or closed explicitly.

The class can also retrieve the identifier of the last inserted record and check whether a given table exists.

The query results are returned into an array, a single variable, or just return the id of the last insert. Shorthand aliases of the commands are implemented.

Picture of JImmy Bo
  Performance   Level  
Name: JImmy Bo is available for providing paid consulting. Contact JImmy Bo .
Classes: 14 packages by
Country: United States United States
Age: ???
All time rank: 1214173 in United States United States
Week rank: 16 Up3 in United States United States Up
Innovation award
Innovation award
Nominee: 8x

Winner: 1x

  Files folder image Files  
File Role Description
Accessible without login Plain text file class.db.mysqli.php Class MYSQLi Version :: Bobo PHP DB Class
Accessible without login Plain text file class.db.php Class The class file for Bobo's PHP DB Class
Accessible without login Plain text file inc.config.php Conf. example config include file
Accessible without login Plain text file example.minimum.php Example Bare Minimum Example of how to use this PHP database access class
Plain text file class.db.mysqli.php8.php Class v1.4 of Bobo PHP DB Class. Works in PHP 8.
Accessible without login Plain text file example.php Example PHP Simple Database Class Usage Example

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:6,123
This week:90Up
 User Ratings  
 All time