CodeIgniter Forums

Full Version: Pagination class starts from 0
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

El Forum

[eluser]Unknown[/eluser]
For some reason when I use the pagination class the href is set to ?page=0 when the actual page number is 1.

Is there a way to get this so page 1 = ?page=1, page 2 = ?page=2 etc?

El Forum

[eluser]tomas[/eluser]
Have a look at the wiki;