[eluser]CroNiX[/eluser]
I'm wondering why you just don't send them as 2 separate variables instead of messing with an array for this?
in the form
Code:
echo form_hidden('search1', '258') . "\n";//Value 1 to be used for searching
echo form_hidden('search2', '900') . "\n";//Value 2 to be used for searching
In the controller:
Code:
$search1 = $this->input->post('search1');
$search2 = $this->input->post('search2');
$inventory = $this->web_inventory_model->searchInventory($search1, $search2);