PHP Classes

Classes of Sjon

Recommend this page to a friend!
  All class groups  >  All authors  >  Classes of Sjon (1)  >  Mission progress status  >  Reputation  
Picture of Sjon
Name: Sjon <contact>
Classes: 1
Country: United States United States
Age: 47
All time rank: 27133 in United States United States
Week rank: 200 Up22 in United States United States Up
All time users: 9250
Week users: 0
 
  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z  
  Files folder image AEDEDL  
AEDEDL, Short for 'Add, Edit, Delete, Enable, Disable, Listing'.
AEDEDL, Short for 'Add, Edit, Delete, Enable, Disable, Listing'.
Since I've been redoing this kind of stuff way too much, I decided to create a class wich could handle this automatically, without having to rewrite code, or copy and paste it each time I wanted this functionallity.
Usually when I store info into a mysql-table, I use an id (auto_increment), and an active column, wich are what this class uses. If you don't have an active (enabled or disabled is probably more clear) column, you can still use it, if you like... : )

I've included a simple example to make things more clear...
RatingsUtility Consistency Documentation Examples Tests Videos Overall Rank
All time: 65% 65% - 76% - - 46% 3120
Month: Not yet rated by the users


  A   B   C   D   E   F   G   H   I   J   K   L   M   N   O   P   Q   R   S   T   U   V   W   X   Y   Z