Page 1 of 1

maintain update log question.

Posted: Wed Oct 15, 2008 5:30 am
by ijlal2
hi

i have a update form for my users where they can update their personal information. i want to keep a record of which fields the user has updated. Currently i am using hidden input fileds to store the previous values before submitting form and then matching it with the new/updated value of that field(s). but the length of code is increasing as new fields are added to db.

is there any other better method.

Thanks

Re: maintain update log question.

Posted: Wed Oct 15, 2008 5:55 am
by pcoder
It would be better to control it from the backend.
Write database trigger and keep the updated record as your requirement.
:)