Sunday, 1 September 2013

How to insert multiselect in CodeIgniter

How to insert multiselect in CodeIgniter

i want the multiselect value insert in database with increment of table id
with divided selected value .
view:-
echo form_multiselect('cat_name', $options, $Award->cat_name);
controller
$data = $this->list_m->array_from_post(array('con_id'));
$this->award_m->save($data, $id);
what is the model code with increment id and with single value

No comments:

Post a Comment