how to store database values in radio buttons those radio buttons values retrieve from another table in codeigniter
<p>i have two tables in my database one is notifications another one is notification_expire_types..in notification form i created expire types as radio buttons..how to store those radio button expire_types values in notifications form in codeigniter..please help me </p>

<pre><code>&lt;div class="col-md-12 not_margin"&gt;
 &lt;div class="form-group"&gt;
  &lt;label class="col-md-3 control-label txt_view"&gt;Expires By&lt;/label&gt;
  &lt;div class="col-md-9"&gt;
    &lt;div class="ui-radio ui-radio-pink"&gt;
        &lt;label class="ui-radio-inline"&gt;
         &lt;input type="radio" checked name="expire_type_id"&gt; 
         &lt;span&gt;1 Day&lt;/span&gt;
        &lt;/label&gt;
        &lt;label class="ui-radio-inline"&gt;
         &lt;input type="radio" name="expire_type_id"&gt;
         &lt;span&gt;1 Week&lt;/span&gt;
        &lt;/label&gt;
        &lt;label class="ui-radio-inline"&gt;
         &lt;input type="radio" name="expire_type_id" &gt; 
         &lt;span&gt;15 Days&lt;/span&gt;
        &lt;/label&gt;
        &lt;label class="ui-radio-inline"&gt;
         &lt;input type="radio" name="expire_type_id" &gt; 
         &lt;span&gt;1 Month&lt;/span&gt;
        &lt;/label&gt;
     &lt;/div&gt;
    &lt;/div&gt;
&lt;/div&gt;
</code></pre>

<p></p>