How to insert data into two different tables with the same form?

0

I have a dynamic form in which the questions come from a database table, some questions have multiple choice answers that also come from the database. but other questions are text. When submitting, I needed the multiple choice response to go to one table and the text response to another table.

How do I differentiate the responses that come from the checkbox and send to the x table and the text response to send to the table and?

Here is a rough (but somewhat informative) schematic of BD

Thank you

    
asked by anonymous 23.10.2015 / 12:49

0 answers