eMonk Posted October 13, 2011 Share Posted October 13, 2011 My php/mysql book doesn't cover pagination so I've been searching the web for a simple pagination script that I can learn from. I got the following one working at http://www.phpsimplicity.com/tips.php?id=1 but it's just showing the next and prev links... no results on the pages and you can click on the next link forever when there's only 11 records in the table I queried. How can I display results on each page and have the info append to the next page? This is the second example I've tried and none seem to explain this part? Quote Link to comment https://forums.phpfreaks.com/topic/249077-need-help-with-pagination/ Share on other sites More sharing options...
jcbones Posted October 13, 2011 Share Posted October 13, 2011 Basic Pagination. This is the default tutorial here, probably one of the best out there. Quote Link to comment https://forums.phpfreaks.com/topic/249077-need-help-with-pagination/#findComment-1279172 Share on other sites More sharing options...
eMonk Posted October 26, 2011 Author Share Posted October 26, 2011 Now I have the results showing on the page but when I click on the next page of results I get a 404 error. Any ideas? For example: Pages: [1] 2 3 When I click on page 2 it doesn't exist and gives me a 404 error message. Quote Link to comment https://forums.phpfreaks.com/topic/249077-need-help-with-pagination/#findComment-1282491 Share on other sites More sharing options...
jcbones Posted October 26, 2011 Share Posted October 26, 2011 I have no idea! I would need to see the script to even began an idea. Quote Link to comment https://forums.phpfreaks.com/topic/249077-need-help-with-pagination/#findComment-1282503 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.