I have a form where you select a room from a building then you get a list of software. You then check off which software titles will be added to that room. The checkboxes have the software id as its value. I then take the array and expode it and add it to the table "softroom" which is:
softroom [rid, sid, added] , room id, software id, and date that it was added
I now want to add a feature where you enter how many software copies will be used on that classroom. So again the same process, select building, then pick the room, then get the list of software to add to that room but now there will be an input on each software title row for inputting how many copies will be used.
Im stuck as far as how to do this. So far I have added a field to "softroom" , which is "used" which will tell how many copies of the software will used in that class.
softroom [rid, sid, used, added]
My problem is how to process the input box part as far as how its linked to the checkbox, because the checkbox has the software id and I need that in order to INSERT the 2 main values checked/inputted into the "softroom" table
softroom [5, 2, 36, 20060327]
softroom [rid, sid, used, added]