Re: QuickForm: anyone have any examples of audit code that logs every edit / change to data?
| From: | Alexey Borzov | Date: | Thu, 13 Jan 2005 22:20:29 +0000 |
| Subject: | Re: QuickForm: anyone have any examples of audit code that logs every edit / change to data? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16923@lists.php.net to get a copy of this message | ||
Hi,
l Burnerheimerton wrote:
I have several forms in the app. I'd like to log every change the user makes to any data. Not every field on every edit, but only those where data has been changed. Does anyone have some example code or articles on this? ( I am using HTML_Quickform. )You are most certainly storing your data in the database. In that case you should define triggers that will fire after update on the tables in question and will write to some audit table. The actual trigger code is of course DB specific.