Jump to content

Archived

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

HGeneAnthony

How can I have a load the next 10 records like some websites

Recommended Posts

On a lot of websites I notice the ability to jump forward/back x amount of records and I was wondering how it was done. Is there a way to write a SQL query to return only x amount of records or do I load them all and then sort them out myself in PHP. Any help?

Share this post


Link to post
Share on other sites
Search for [i]php record paging[/i] tutorials.

Share this post


Link to post
Share on other sites
in SQL you can set Limits which will only pull the X amount of records ... and then creating a next page button which will pull the next amount of X records...

But yea... Pagination is the keyword u should search around for.

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.