jaymc Posted October 16, 2008 Share Posted October 16, 2008 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 Quote Link to comment https://forums.phpfreaks.com/topic/128773-page-links/ Share on other sites More sharing options...
DarkWater Posted October 16, 2008 Share Posted October 16, 2008 Read the pagination tutorial by Crayon Violent on the main site's tutorials section. Quote Link to comment https://forums.phpfreaks.com/topic/128773-page-links/#findComment-667515 Share on other sites More sharing options...
jaymc Posted October 16, 2008 Author Share Posted October 16, 2008 Cheers Quote Link to comment https://forums.phpfreaks.com/topic/128773-page-links/#findComment-667529 Share on other sites More sharing options...
.josh Posted October 16, 2008 Share Posted October 16, 2008 http://www.phpfreaks.com/tutorial/basic-pagination/page10 Quote Link to comment https://forums.phpfreaks.com/topic/128773-page-links/#findComment-667535 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.