PHP Classes

Simple MySQL DB Class: 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
StarStarStar 51%Total: 5,336 All time: 483 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 is available for providing paid consulting. Contact Eric Sizemore .
Classes: 15 packages by
Country: United States United States
Age: 37
All time rank: 15119 in United States United States
Week rank: 170 Down21 in United States United States Down
Innovation award
Innovation award
Nominee: 4x

Winner: 2x

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 (4)  
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.

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:5,336
This week:0
All time:483
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:2466
 
poor functionality
16 years ago (Nikolaj)
50%StarStarStar