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    
Last Updated Ratings Unique User Downloads Download Rankings
2011-02-19 (9 years ago) RSS 2.0 feedStarStarStar 55%Total: 5,330 All time: 474 This week: 394Up
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

  Performance   Level  
Name: Eric Sizemore <contact>
Classes: 6 packages by
Country: United States United States
Age: 32
All time rank: 15518 in United States United States
Week rank: 271 Down27 in United States United States Down

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,330
This week:0
All time:474
This week:394Up
User Ratings User Comments (1)
 All time
Utility:75%StarStarStarStar
Consistency:66%StarStarStarStar
Documentation:50%StarStarStar
Examples:66%StarStarStarStar
Tests:-
Videos:-
Overall:55%StarStarStar
Rank:1802
 
poor functionality
12 years ago (Nikolaj)
50%StarStarStar
 

For more information send a message to info at phpclasses dot org.