PHP Classes

MySQL Database Model: Execute common MySQL database access queries

Recommend this page to a friend!
  Info   View files View files (1)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 196 This week: 1All time: 8,513 This week: 560Up
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
Age: ???
All time rank: 4146284 in India India
Week rank: 411 Up26 in India India Up

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

 Version Control Unique User Downloads Download Rankings  
 0%
Total:196
This week:1
All time:8,513
This week:560Up