Quetion regarding checkboxes and inputting information
I am runing a form that pulls the checkboxes from a query. They have the same name, but different values.
On the action page, for each checkbox checked, a new record must be created in the db.
Im' sure this has to do with counting and setting a loop number, but for some reason I am drawing a blank.
The query is basic....
<cfquery name="whatever" datasource=#dbname#>
insert into ach_world_done
(id,scoutid,den,world)
Values
('#url.id#','#url.scoutid#','#url.den#','#form.world#')
</cfquery>
As it is written now, it conmas the checkboxes on the previous page, so if there are two boxes checked, it does info1,info2 and puts this into the db. I need to break this up.
any help would be greatly appreciated.
Sharon
