Login   Register  
PHP Classes
elePHPant
Icontem

PHP MySQL Wrapper Class: MySQL database access wrapper

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Radovan Janjic
Name: Radovan Janjic is available for providing paid consulting. Contact Radovan Janjic .
Classes: 13 packages by
Country: Serbia Serbia
Age: 26
All time rank: 4384 in Serbia Serbia
Week rank: 32 Up1 in Serbia Serbia Up
Innovation award
Innovation award
Nominee: 2x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class implements a generic MySQL database access wrapper. It can:

- Connect to a given MySQL server
- Set the connection character set encoding
- Execute arbitrary queries and return the results in arrays
- Retrieve the columns of a table
- Execute UPDATE or INSERT queries from parameters that define the tables, fields, field values and conditions
- Execute multiple INSERT or UPDATE queries at once
- Count the number of rows of a table that match a given condition
- Get the next value of an auto-incremented table field
- Delete table rows that match a given condition
- Export, import, update table using CSV files
- Create table from CSV file
- Export query to CSV file
- Replace values in a given table for defined columns
- Rename, copy, truncate or drop table
- Get database size
- Log queries and errors with backtrace information

  Classes of Radovan Janjic  >  PHP MySQL Wrapper Class  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: PHP MySQL Wrapper Class
Base name: mysql-access-wrapper
Description: MySQL database access wrapper
Version: 1.12
PHP version: 4.3
License: GNU General Public License (GPL)
All time users: 500 users
All time rank: 5248
Week users: 8 users
Week rank: 184 Up
 
  Groups   Rate classes User ratings   Dependents   Applications   Files Files  

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


  User ratings  
Not yet rated by the users

  Other classes that need this package  
Class Why it is needed Dependency
PHP MySQL Session Handler MySQL Wrapper Recommended

  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
Files folder imagetest_files (7 files)
Accessible without login Plain text file example.php Example Example script
Accessible without login Plain text file LICENSE Data Auxiliary data
Accessible without login Plain text file log-mysql.txt Output Log file
Plain text file MySQL_wrapper.class.php Class class
Accessible without login Plain text file README.md Data Auxiliary data
Accessible without login Plain text file test-1.txt Output CSV sample

  Files folder image Files  /  test_files  
File Role Description
  Accessible without login Plain text file countrylist.csv Data Auxiliary data
  Accessible without login Plain text file countrylist1.csv Data Auxiliary data
  Accessible without login Plain text file test-1.txt Doc. Documentation
  Accessible without login Plain text file test-2.txt Doc. Documentation
  Accessible without login Plain text file test-3.txt Doc. Documentation
  Accessible without login Plain text file test-4.txt Doc. Documentation
  Accessible without login Plain text file test-query2csv.csv Data Auxiliary data

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