I'm facing a problem. I have to display a table from the database and display it, and the user can change this textbox value. For this I'm creating a dynamic text boxes to display the value. This displayed information needs to be changed according to the user requirements. designation and its order.
To get the value from the database
//to get the database values: $sql = "SELECT * FROM `designations` ORDER BY desid"; // displaying it <input size="5" name="<? $desid[$i] ?>" type="text" value="<? echo $row1["desid"] ?> <? echo $_REQUEST["$desid[$i]"]; ?>">
Now in the above code the display section works perfectly. The only problem I'm facing is that when the user modifies the values in the textboxes and clicks submit button how should i get the modified values??
I tries using the array name and post method but its not working.. Please help..