title: What's the best way to store Checkbox Values in MySQL Database?
body: <p>First, take a look at this page as an example: <a href="http://offcampushousing.uiowa.edu/property/advanced-search" rel="nofollow">Click here</a></p>
  
  <p>If you view the 'Amenities' section, there are 3 sets of checkboxes (Unit Features, Community Features and Utilities Included in Rent).</p>
  
  <p><strong>My Question Is:</strong> How can I use PHP to make 3 array variables (e.g. $unit_features, $community_features and $utilities_included) to store which boxes are/are not checked into 3 respective fields in a table?</p>
  
  <p><strong>More importantly:</strong> How do I pull the data out of the table in the same array format so that specifics can be viewed/edited/deleted?</p>
  
  <ul>
  <li><em>Note, I've tried countless times to do this by having separate fields in the table (as tinyints) - but it gets bulky and isn't elegant at all...I even thought of making an object class but failed yet again..</em></li>
  </ul>