I am creating a survey with 8 question with 3 to 8 different checkboxs for answers and i would like to know how to insert each question's answers into my database (each question into a new record) using a script. I think i have to maybe use for..in and perhaps look up an insert and insert my data?
for Request("MM_insert"{
MM_editQuery = "insert into " + MM_editTable + " (" + MM_tableValues + " values (" + MM_dbValues + "";
}
in Request.Form
but i don't know if this would work bc i don't know the correct coding. i would like to use this "insert into" for every "mm_insert" from <input type="hidden" name="MM_insert" value="true"> to possibly insert the data.
This is confusing and i hope you understand what i am trying to say.
Thanks Candy
for Request("MM_insert"{
MM_editQuery = "insert into " + MM_editTable + " (" + MM_tableValues + " values (" + MM_dbValues + "";
}
in Request.Form
but i don't know if this would work bc i don't know the correct coding. i would like to use this "insert into" for every "mm_insert" from <input type="hidden" name="MM_insert" value="true"> to possibly insert the data.
This is confusing and i hope you understand what i am trying to say.
Thanks Candy