How can I submit a form with select options that gives different input fields? Should I make separate tables in db or make one that takes all the data from the form?