PHP Classes
elePHPant
Icontem

Simple MySQL DB Class: MySQL database access wrapper

Recommend this page to a friend!

  Author Author  
Name: Eric Sizemore <contact>
Classes: 6 packages by
Country: United States United States
Age: 30
All time rank: 15518 in United States United States
Week rank: 333 Down29 in United States United States Down


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
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

Details
{startverticalbanner}
/**
* @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.

  Classes of Eric Sizemore  >  Simple MySQL DB Class  >  Download Download .zip .tar.gz  >  Support forum Support forum (1)  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: Simple MySQL DB Class
Base name: simple-mysql-class
Description: MySQL database access wrapper
Version: 2.0.0
PHP version: 5
License: GNU General Public License (GPL)
All time users: 5314 users
All time rank: 463
Week users: 0 users
Week rank: 590 Equal
 
  Groups   Rate classes User ratings   Applications   Files Files  

  Groups  
Group folder image Databases Database management, accessing and searching View top rated classes


  User ratings  
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: Sufficient (75%) Sufficient (66%) Not sure (50%) Sufficient (66%) - - Not sure (55%) 1713
Month: Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.

Add link image If you know an application of this package, send a message to the author to add a link here.

  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.

Install with Composer Install with Composer - Download Download all files: simple-mysql-class.tar.gz simple-mysql-class.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.