sql update multiple textboxs
Posted: Tue Feb 09, 2010 3:29 pm
Hello,
I need to do a table update for one column and an unknown number of records. The column will have text boxes for each record displayed so the user can add values. The problem I run into is if my code looks like this
Then I have no record key to know where to put the values. If I display the table with NAME set to the record key like so
Then I don’t know how to update the table with the posted data.
Any ides, anyone?
Thanks,
incubi
I need to do a table update for one column and an unknown number of records. The column will have text boxes for each record displayed so the user can add values. The problem I run into is if my code looks like this
Code: Select all
<INPUT TYPE=text SIZE=3 maxlength=5 NAME=$ary[] value="">
Code: Select all
INPUT TYPE=text SIZE=3 maxlength=5 NAME='.$row["ID"].' value="">
Any ides, anyone?
Thanks,
incubi