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,336 All time: 482 This week: 455Up
Version License PHP version Categories
simple-mysql-class 2.0.0GNU General Publi...5Databases
Description 

Author

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 <contact>
Classes: 15 packages by
Country: United States United States
Innovation award
Innovation award
Nominee: 4x

Winner: 1x

Details

/** * @author Eric Sizemore <admin@secondversion.com> * @package Simple MySQL DB Class * @link www.secondversion.com * @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 <http://www.gnu.org/licenses/>. */ 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  
 0%
Total:5,336
This week:0
All time:482
This week:455Up
User Ratings User Comments (1)
 All time
Utility:68%StarStarStarStar
Consistency:62%StarStarStarStar
Documentation:50%StarStarStar
Examples:62%StarStarStarStar
Tests:-
Videos:-
Overall:51%StarStarStar
Rank:2445
 
poor functionality
16 years ago (Nikolaj)
50%StarStarStar