Results 1 to 5 of 5
Thread: Update a table from a form
Dec 1, 2010, 02:35 #1
Update a table from a form
I have a <table> that contains all the information from a database, and I want the user to update this information through a form. Every row of the table has an "Edit" button, which is a link that takes the user to a page where there's a form letting them update the information of the selected row.
My problem is, how can I connect the Edit button with the correct row? in other words, how can I store the information about which row has been selected, in order to update the selected row?
Dec 1, 2010, 02:40 #2
Dec 1, 2010, 02:49 #3
Dec 1, 2010, 03:08 #4
Don't forget to sanitize the value before using it in the query.
Dec 1, 2010, 03:29 #5