title: Storing Multiple Checkbox Data in MySQL Database with PHP
body: <p>I want to have multiple checkbox values be stored into one field in a database.  (Ex. 1, 24,56,100).  I am wanting to know how I can make this happen, and how does PHP read these values from the database if I want to call variables in a query?</p>
  
  <p>Basically I am creating a blog app (for fun and experience) and I want the user to be able to change the visibility of each blog post through checkboxes.  I know you are probably thinking why don't I just have a visibility field for each blog post. I understand why it is not recommended to do this, but I can't think of any other way to do this. To explain a bit more: I want to attach this application to a CMS I have already built, and basically I have a table with blog posts, and then I want the user to be able to go to different pages within their site and add a blog. Well, what if the user wants to use the same blog on 3 different pages, but only wants certain posts to show on each page. So this is why I am confused right now.</p>