I have gotten a page (lets call it script1.php) to select many rows from a table, and display it in a HTML table, the last column of which I display a form text box (<input type="text">) on each row. I'm wondering how to tell the next script (script2.php) to dynamically UPDATE the table and SET each row with the new information from script 1. Each row has a unique column called ID. I'm thinking of naming each text box in scrpt1.php dynamically like this <input type=\"text\" name='comments" . $rowd[comm]. "' value='" . $rowd[comm]. "'>
so that each text box will be calledcomments with the suffix of the id of that row, or I think I've once read I can just call each text box like this:
comments[]
and I'll get it into an aray?
My main problem is with the second form, I hope you understand what I mean
so that each text box will be calledcomments with the suffix of the id of that row, or I think I've once read I can just call each text box like this:
comments[]
and I'll get it into an aray?
My main problem is with the second form, I hope you understand what I mean