input->post()) { if (!is_array($name)) { $name = array($name); } foreach ($name as $item) { if (!$CI->input->post($item)) { $_POST[$item] = 0; } } } } /* End of file checkbox_helper.php */ /* Location: ./application/helpers/checkbox_helper.php */