Bee Posted March 7, 2006 Share Posted March 7, 2006 Hi,I have a database query written in PHP that returns records from the table and displays them on a webpage. I want to display only a certain number of records and put the remaining records on other pages.for example: when one does a search on google! if the search returns 50000 results, it only displays some results per page. i don't know how to explain it any further, but I hope there is some body out there who can help. Even if you point me to a tutorial, i will appreciate it so much.Thanks,Bee Quote Link to comment https://forums.phpfreaks.com/topic/4371-please-help/ Share on other sites More sharing options...
XenoPhage Posted March 7, 2006 Share Posted March 7, 2006 [!--quoteo(post=352627:date=Mar 7 2006, 04:42 PM:name=Bee)--][div class=\'quotetop\']QUOTE(Bee @ Mar 7 2006, 04:42 PM) [snapback]352627[/snapback][/div][div class=\'quotemain\'][!--quotec--]I have a database query written in PHP that returns records from the table and displays them on a webpage. I want to display only a certain number of records and put the remaining records on other pages.[/quote]You want a paginator. :) Try this : [a href=\"http://tkap.org/paginator/\" target=\"_blank\"]http://tkap.org/paginator/[/a] Quote Link to comment https://forums.phpfreaks.com/topic/4371-please-help/#findComment-15174 Share on other sites More sharing options...
wickning1 Posted March 7, 2006 Share Posted March 7, 2006 [a href=\"http://www.phpfreaks.com/tutorial_cat/25/Page-Number--Pagination.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorial_cat/25/P...-Pagination.php[/a] Quote Link to comment https://forums.phpfreaks.com/topic/4371-please-help/#findComment-15176 Share on other sites More sharing options...
Bee Posted March 8, 2006 Author Share Posted March 8, 2006 [!--quoteo(post=352630:date=Mar 7 2006, 04:45 PM:name=wickning1)--][div class=\'quotetop\']QUOTE(wickning1 @ Mar 7 2006, 04:45 PM) [snapback]352630[/snapback][/div][div class=\'quotemain\'][!--quotec--][a href=\"http://www.phpfreaks.com/tutorial_cat/25/Page-Number--Pagination.php\" target=\"_blank\"]http://www.phpfreaks.com/tutorial_cat/25/P...-Pagination.php[/a][/quote]Thank you.Bee Quote Link to comment https://forums.phpfreaks.com/topic/4371-please-help/#findComment-15412 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.