Jump to content

Archived

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

Bee

Please help

Recommended Posts

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

Share this post


Link to post
Share on other sites
[!--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]

Share this post


Link to post
Share on other sites
[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]

Share this post


Link to post
Share on other sites
[!--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

Share this post


Link to post
Share on other sites

×

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.