is there a way to show what field you updated in mysql?
Posted
by ggfan
on Stack Overflow
See other posts from Stack Overflow
or by ggfan
Published on 2010-05-18T22:50:24Z
Indexed on
2010/05/18
23:00 UTC
Read the original article
Hit count: 207
When users edit their account, I want to display a confirmation page that shows their updated information with the fields that they changed in bold. Is there a mysql statement that allows you to select the fields that a user changes? If not, how exactly can I achieve this
Ex:
(editaccount.php)
first_name: bob
last_name: builder
email: [email protected]
When they change say their first name to "james", the confirmation page shows their first name in bold because they changed that but the other areas are still normal text.
first_name: <b>James</b>
last_name: builder
email: [email protected]
© Stack Overflow or respective owner