title: CodeIgniter - How to set default value to unchecked for radio buttons/checkboxes while using set_radio and set_checkbox?
body: <p>I think I'm missing some simple here, but I can't figure it out for the life of me.</p>
  
  <p>I'm using the set_radio() and set_checkbox() methods to return their values if validation fails, like this </p>
  
  <pre><code>&lt;input type="radio" name="gender" value="male" &lt;? if(!isset($thankyou)) { echo set_radio('gender', 'male'); } ?&gt;/&gt;;Male
  &lt;br /&gt;
  &lt;input type="radio" name="gender" value="female" &lt;? if(!isset($thankyou)) { echo set_radio('gender', 'female'); } ?&gt;/&gt;;Female
  </code></pre>
  
  <p>I also have another array of checkboxes elsewhere which is larger. Everything is working fine, but on default, the second radio button is checked, and for the checkboxes, ALL of them are checked on default.</p>
  
  <p>If I don't have set_radio / set_checkbox , they are not checked by default, which is what I want.</p>
  
  <p>Adding the 3rd parameter to set_radio() ie.  set_radio('gender','male',false)  doesn't show any difference as well.</p>
  
  <p>Can anyone shed any light on this please?</p>
  
  <p>Thank you very much!</p>