Jump to content

Page Links


jaymc

Recommended Posts

I want to add numbered page links to jump to pages rather than having NEXT / BACK

 

e.g. << < 1 2 3 4 5 6 7 8 9 10 > >>

 

I can do that as I can just devide total number of mysql matches by number of rows I am displaying on the page, however, here is the catch

 

Lets say there are 80 pages, I am not going to have 1 2 3 4 5 6 ........78 79 80

 

So when they are on page 9, the display changes to something like this

 

7 8 9 10 11 12 13 14 15 16 17

 

Any tutorials or pointers on how I can tackle this

Link to comment
https://forums.phpfreaks.com/topic/128773-page-links/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.