[eluser]husni[/eluser]
this is a part of my codes in the controller while doing pagination..
Code:
$data['querys'] = $this->helpdesk_model->display_menu();
$config['base_url']='http://localhost/helpdesk/index.php/site/list_of_user/';
$config['total_rows']=$this->helpdesk_model->getNumReport();
$config['per_page']='3';
$this->pagination->initialize($config);
$data['reports']=$this->helpdesk_model->getReport($row);
$data['title']='Displaying List Of user';
$data['header']='User List';
$data['links']=$this->pagination->create_links();
$this->load->view('list_of_user', $data);
i wonder about the base_url.. the config file has contained the $config['base_url']..
so when it comes to this..the variable of base_url will be changed isnt it..
in addition,i have set the $config['base_url'] in config file to 'http://localhost/helpdesk/index.php/'; ..
wondering about this..anyone can help or explain to me??