Pagination and page number.


Why CI generate links in pagination as:
page_number - 1

For example my URL looks like:
When I look on URL I think I'm on second page, it's not true I'm on third page!!

Can I change it?

[eluser]Glen Swinfield[/eluser]
No, because page 1 starts from record 0, that is how pages are calculated. You could rewrite the pagination class and change the way it works, but I wouldn't bother.

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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