Login   Register  
PHP Classes
elePHPant
Icontem

MySQL Table Abstraction Class: Wrap the access to MySQL database table rows

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (4)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2005-07-22 (9 years ago) RSS 2.0 feedNot enough user ratingsTotal: 795 All time: 3,961 This week: 1,545Up
Version License Categories  
mtac 1.0GNU General Public Lice...PHP 5, Databases
Description Author  

This class can be used to wrap the access to individual MySQL database table rows in class objects.

Each object of the class stores the values of the fields of a given row of a given table.

The class provides means to store and retrieve the values of the row fields in the specified table.

It can retrieve the row values given the value of a field named 'id' or named 'name'. The field values are stored in class variable that is an associative array.

Then the class can also store the eventually modified table fields values. If the id field value is set to 0, the class inserts a new table record.

Picture of Nic Stevens
Name: Nic Stevens <contact>
Classes: 2 packages by
Country: United States United States
Age: 48
All time rank: 54667 in United States United States
Week rank: 1169 Down129 in United States United States Down

  Files folder image Files  
File Role Description
Plain text file mtac.php Class MySQL Table Abstraction Class
Accessible without login Plain text file README Doc. Details on MTAC
Accessible without login Plain text file test.php Example MTAC Test
Accessible without login Plain text file test.sql Data Test database tested against

 Version Control Unique User Downloads Download Rankings  
 0%Total:795All time:3,961
 This week:0This week:1,545Up