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?