Jump to content

Please help


Bee

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

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.