Multiple pagination

#1
[eluser]Suhas nazir[/eluser]
How to implement multiple pagination in a single page???????

#2
[eluser]theprodigy[/eluser]
Have you tried something like:
Code:
$this->load->library('pagination');

//first set
$config['base_url'] = 'http://example.com/index.php/test/page/';
$config['total_rows'] = '200';
$config['per_page'] = '20';

$this->pagination->initialize($config);

$this->data['set_1'] = $this->pagination->create_links();

//second set
$config['base_url'] = 'http://example.com/index.php/test/second_set/';
$config['total_rows'] = '400';
$config['per_page'] = '5';

$this->pagination->initialize($config);

$this->data['set_2'] = $this->pagination->create_links();


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.