Question: how to get selected checkbox value in codeigniter?
Answer: do $data = $this->input->post('businessType'); You should see that $data is an array, and shows different values. Try doing var_dump($data); to see what's inside the array. If only one of these checkboxes can be selected at a time, you should use a group of radio buttons ( type="radio" ) instead.