Jump to content

How do I insert multiple checkboxes into mysql


kpetsche20

Recommended Posts

You want to submit the value of multiple checkboxes into one field of your table?

 

I would create a string that contains these values separated by a comma and save that into your table. Then, when you need to retrieve this data you can split the string and get an array of all your checkbox values :)

 

I hope that helps!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.