Hi all,
I'm wondering about something. I have a table in MySQL, I select from it and display the results in a nice HTML table, in one row there is date, name1 and name2.
Then there is a 'Edit' button which turns name1 and name2 columns into input text types. Then the user can change some names and press a 'Save' button.
When the 'Save' button is pressed I loop through every row in the HTML table and update every row in the MySQL database. Not very nice at all but works 🙁
What I'm thinking about is a way to know which fields have been changed and update only those fields. Is this somehow possible with PHP or do I need to make some JavaScript (which I know nothing about) which I call with the HTML onChange event??