function search(){var_dump($this->input->post());exit;if ($this->input->post('submit'){ die('Hello');....} else {....}