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: Update of
Date: 6 days ago
Size: 473 bytes


Class file image Download
MYSQLUndo ========= 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.