Data handling

A

Anonymous

Guest
Hi,
You have enclosed you all the hidden fields in a single form, and that is why you are getting all the data in the action file.
you can consider one of the solution.

if you want GET method then remove the form and just give a link to the edit button with employees.php?edit=edit&txtID=$rows['emp_ID'] then it will work as you want.

AND

If you want POST method then you enclose your edit button within a form.
it means if 5 rows are there then 5 forms with different names

choose whichever way you like.
 
Back
Top