title: How to Insert checkbox value in mysql using codeigniter
body: <p>How to Insert checkbox value in mysql using codeigniter?<br>
  Here I have 3 input checkboxes and in database table i have 3 columns for these checkboxes.</p>
  
  <pre><code>&lt;label&gt;&lt;input type="checkbox"&gt;a&lt;/label&gt;
  &lt;label&gt;&lt;input type="checkbox"&gt;b&lt;/label&gt;
  &lt;label&gt;&lt;input type="checkbox"&gt;c&lt;/label&gt;
  </code></pre>
  
  <p>If i click any of this checkbox and click the save button,i need to save the checkbox value as "true" in particular database columns.</p>