PHP Classes


Recommend this page to a friend!
  Classes of Ovunc Tukenmez  >  PHP MYSQL Undo Query  >  >  Download  
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP MYSQL Undo Query
Log changes to tables to revert the changes later
Author: By
Last change: Create
Date: 1 month ago
Size: 473 bytes


Class file image Download

This PHP class is used to make possible to undo unwanted data changes in the MYSQL database.
* Logging must be enabled for the table in order to track changes.
* It class creates triggers to store current state of the inserted/updated/deleted row in the time of change.
* Also a stored procedure for the table is created to make possible to get previous state of the rows before the specified time span defined with start_date and end_date parameters.
For more information send a message to info at phpclasses dot org.