SemicolonAcademy / ci-cms

Automatically exported from code.google.com/p/ci-cms
Other
0 stars 0 forks source link

Pagination with multiple searcing criteria in codeigniter #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago

By default the pagination links will be 1 and 2 If i use the search
criteria, (id name), all the 2 are optional.

$config['base_url'] =
base_url()."index.php/searchStudent/".$id."/'".$name."'/";
$config['total_rows'] = count($search1); $config['per_page'] =
'1';//display perpage $config['num_links'] = 1; $config['full_tag_open'] = '

'; $config['full_tag_close'] = '
'; $this->pagination->initialize($config); $data['patient_result'] =
$this->Student_Model->searchStudent($id,$name,$config['per_page'],$this->uri->se
gment(5));

But its not working Whats wrong here?

Original issue reported on code.google.com by sujimo...@gmail.com on 9 Mar 2010 at 8:12

GoogleCodeExporter commented 9 years ago
What result are you getting?

Original comment by rmorga...@gmail.com on 13 Oct 2010 at 10:13