in reply to Logical question-to upate DB records
etc. And then check (in the code that receives the submit) which of the submit buttons was pressed... And then proceed accordingly (looking for Detail$x in the form data if Submit$x is also in the form data).<input type=text name=Detail1 ...> <input type=submit name=Submit1 value=Update> ... <input type=text name=Detail2 ...> <input type=submit name=Submit2 value=Update>
--OR--
Just wrap each pair of input/submit-button in its own <form> tag. This, however, may not be feasible, depending on the constraints of what else you are trying to do with this page.
------------ :Wq Not an editor command: Wq
|
|---|