In a customer CMS the customer can update their personal information, like change their address and first/last name. I use a mysql UPDATE query for that.
Problem with working like this is, is that people can change their information. E.g. change their name from john doe to asdfdas. I would like to SAVE their old information.
What are my options? What is the best way to do this?
Create new columns for the data being updated
columnwould beprior_to_update_columnOn update, move the old info into
prior_to_update_columnIf the user updates again, append to the
prior_to_update_columnseperated by,(to look like an array).This should keep all the previous info the user updates