I have a table, and in the last two columns, I want to put a text entry box, and a link or submit button.

I then want the link/button to send the entry box data to the server along with the identity of the row. I can easily have the link contain the row identity, as I'm generating this table from php. It would also be OK to receive a form submit.

I'm not quite sure about the simplest way to do this - if I don't use forms (do I need to use them?) do I need Javascript to grab the text box value, then use onclick to submit a url? I'm happy for the url to contain the entry box data too, as I'm processing the url in a controller so can easily pull data from it.

I guess I'm just really looking for some pointers here.

many thanks