I have the following dynamic table generated from database.
Correct Me If I am not wrong.. Here you want to get the all value from a form Right? on click of button submit? Why you are making this button href? Suppose we have 3 data into my $result and loops look like below
Your Out put will be
here sourece is your unique Id which helps you to update the data into your DB
After submitting the form from any tr(row) you will redirect to same page with POST method and get data for that particular row on that page so you can easily update it as you want
You can check this by using print_r($_POST); on same page
If you have any questions please feel free to ask me...