PHP Classes

Simple MySQL DB Class: MySQL database access wrapper

Recommend this page to a friend!
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum (1)   Blog    
Ratings Unique User Downloads Download Rankings
StarStarStar 51%Total: 5,334 All time: 482 This week: 113Up
Version License PHP version Categories
simple-mysql-class 2.0.0GNU General Publi...5Databases


This class is a MySQL database access wrapper. It can:

- Connect to a MySQL server
- Execute SQL queries and retrieve single value results or return result rows into arrays
- Return the last inserted table row identifier, the number of result rows and the number of affected rows
- Count the number of executed queries
- Lock and unlock tables
- Escape text literal values or like patterns
- Retrieve database access errors

Picture of Eric Sizemore
  Performance   Level  
Name: Eric Sizemore is available for providing paid consulting. Contact Eric Sizemore .
Classes: 9 packages by
Country: United States United States
Age: 36
All time rank: 15319 in United States United States
Week rank: 36 Up4 in United States United States Up
Innovation award
Innovation award
Nominee: 2x


/** * @author Eric Sizemore <> * @package Simple MySQL DB Class * @link * @version 2.0.0 * @copyright (C) 2007 - 2011 Eric Sizemore * @license GNU Public License * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program. If not, see <>. */ What is Simple MySQL DB Class? ------------------------------ Simple MySQL DB Class is a simple, yet powerful, class that will interact with a MySQL database. It provides: * A way to establish a connection * A way to execute queries * Keeps a count of executed queries * Can return the current ID of an auto_increment field * Table (un)locking * Error reporting * and more... What is Simple MySQL DB Class licensed under? --------------------------------------------- Simple MySQL DB Class is licensed uner the GNU GPL license. See the 'license.txt' file for the full license. How do I implement Simple MySQL DB Class? ----------------------------------------- Various examples have been provided in the example.php file Can I contact you? ------------------ Yes you may. If you have any questions, need help, or need to report a bug; don't hesitate to email me at esizemore05 at gmail dot com.

  Files folder image Files  
File Role Description
Plain text file mysql.class.php Class Main class file
Accessible without login Plain text file example.php Example Various usage examples
Accessible without login Plain text file readme.txt Doc. readme
Accessible without login Plain text file license.txt Lic. Simple MySQL DB Class is licensed under the GNU GPL.

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:482
This week:113Up
User Ratings User Comments (1)
 All time
poor functionality
16 years ago (Nikolaj)