PHP Classes

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

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in Bookmark in
  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: 796 All time: 3,998 This week: 1,555Up
Version License Categories  
mtac 1.0GNU General Publi...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: 49
All time rank: 55166 in United States United States
Week rank: 1701 Down181 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:796All time:3,998
 This week:0This week:1,555Up