When users edit their account, I want to display a confirmation page displaying their updated information, with the fields that they have changed in bold. Is there a mysql statement that allows you to select the fields that the user changes? If not, how exactly can I achieve this.
Example:
(editaccount.php)
first_name: bob
last_name: builder
email: bobbuilder@gmail.com
When they change, say your name in "james", the confirmation page shows your first name in bold because they changed it, but other areas are still normal text.
first_name: <b>James</b>
last_name: builder
email: bobbuilder@gmail.com
ggfan source
share