How to collect Checkbox Array values?

Beginner PHP Programmer always searches for easy way to collect Checkbox data from forms.
Here in this post I have used 3-4 lines of easy code to collect data from multi checkboxes. Instead of using several table-fields you can store your comma separated data in on field of the table. This is easy and handy.



 Om  Jyoti  Bruce
 Yaling  Angelica  Tara
Share

One thought on “How to collect Checkbox Array values?

  1. Ammer

    How can I get the data back out of the database and recheck the boxes for that it has stored. I need to do this to create an update form.
    Thanks

Leave a Reply

Your email address will not be published. Required fields are marked *