samiuddin_adse — 2013-02-11T03:07:15-05:00 — #1
I want to know the updated value.
I am fetching the table values in a form to allow the user to modify them.
Now I want to know which values he has modified.
Please help me to resolve this
guido2004 — 2013-02-11T05:20:36-05:00 — #2
In the script that receives the form values, get the original values from the database and confront them.
r937 — 2013-02-11T05:32:40-05:00 — #3
hey! you original values! what the heck are you doing there!
i think you mean compare, not confront
guido2004 — 2013-02-11T06:50:54-05:00 — #4
Yes, I knew it wasn't the correct word, but "compare" just didn't come to mind
Let's hope the OP understood anyway.
samiuddin_adse — 2013-02-11T06:55:24-05:00 — #5
Thanks, I will do that and check the result
rajeev13 — 2013-02-11T23:52:00-05:00 — #6
MySql or Sql server does not keep the track of updated value in the table,although mySql can find the last inserted record if the table has an column with auto increment property .
r937 — 2013-02-12T02:50:12-05:00 — #7
rajeev, i don't think you understand the question
he's asking how to know which form values the user changed
rajeev13 — 2013-02-12T23:31:18-05:00 — #8
then i was just replying regarding MySql behavior as i know.although i m not expert in php and mysql.