backup of database record before update
| From: | Ronald Wiplinger | Date: | Sun, 28 Oct 2007 06:56:12 +0000 |
| Subject: | backup of database record before update | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-44271@lists.php.net to get a copy of this message | ||
I need some hints how to do that. Maybe there is a template or an easy function available.
I have a MySQL database with some tables. Everytime a table record changes, I want also put the old record to a history database.
The history table and the original only differs that the key of the original will be just a field in the backup, while the new key is now the UNIX time stamp.
How can I do that "easy"?
bye
Ronald