• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
how to show all pages with pagination ?

#1
[eluser]Unknown[/eluser]
Hi all,

I implemented my code with pagination function, it's work great. but i need to show all pages, no continue or previous link. can anyone suggest me ?

Thanks Big Grin

#2
[eluser]Sanjay Sarvaiya[/eluser]
Hi,

You can do with
Code:
$config['num_links']
.

Code:
$config['total_rows'] = 500;
$config['per_page'] = 10;
$config['num_links'] = $config['total_rows']/$config['per_page'];
  
$this->pagination->initialize($config);


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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