PHP Classes

MySQL Database Model: Execute common MySQL database access queries

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
Not enough user ratingsTotal: 196 All time: 8,521 This week: 206Up
Version License PHP version Categories
mysqlmodel 1.0GNU General Publi...5PHP 5, Databases
Description 

Author

This class can execute common MySQL database access queries.

It extends a base model class and executes several types of queries from parameters. Currently it can:

- Query all rows of table
- Query records of a table that match a condition
- Insert or update table records with given field values
- Delete table records that match a condition
- Get single values or single rows from table records
- Check if a table record exists
- Copy records from a table to the same or another table
- Count records of tables
- Generate pagination links
- Manage transactions

Picture of Sonal Khunt
Name: Sonal Khunt <contact>
Classes: 1 package by
Country: India India

  Files folder image Files (1)  
File Role Description
Plain text file mysqlmodel.php Class Its Class file

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:196
This week:0
All time:8,521
This week:206Up