On my page, I have a form with 17 checkboxes (each with a text label) along with other elements.
In my database, rather than having 17 fields collecting yes/no values, I want to have 1 field that lists the text labels of all the checkboxes that were selected. How can I accomplish this?
E.g., if the user checks the boxes for “Pizza,” " Burger," and “Sandwich” and presses the submit button, my database should have the entry:
Pizza Burger Sandwich
Thanks for your help in advance.