Building Multiple Choice Dynamic Checkboxes

I’m trying to build dynamic checkboxes with multiple choices that will insert each checked box in the database.

The code will display all the checkboxes from the database perfectly.

Also, it will insert one choice into the database perfectly.

The problem is getting it to insert more than one choice to the database.

Any help is appreciated?

Below is the sample code:

Community Page
Last updated: