I have a table with 2 columns. The first column contains an Edit form button, the column next to it a name that corresponds to a database entry.
I have the variable 'cname1' as the name. I want to make it so when I hit the "Edit" button the name is passed to the php form. However, the value of the button is being passed and not its name... How can I fix this?
<input type='submit' name='cname1' value='Edit'/>