Page 1 of 1

Navigation through Records or Pages Being Fetched

Posted: Tue Jun 08, 2010 5:02 pm
by devarishi
Hi,


I am displaying records from a database / table. The number of records can be very large as the database grows. So, the requirements is such that only 10 or 25 records should be displayed per page.

So, the interface on every page should look like this:

Code: Select all

Navigate: First | Previous | Next | Last
Or

Code: Select all

Pages: 1 2 3 4 5 ...
So, how do we do that?

Please Note: I am using PHP, HTML, and CSS only. No Ajax knowledge do I have!

Thanks!

Re: Navigation through Records or Pages Being Fetched

Posted: Tue Jun 08, 2010 5:04 pm
by John Cartwright
This has been discussed many a-times. The search term you want to use is "pagination".

Re: Navigation through Records or Pages Being Fetched

Posted: Tue Jun 08, 2010 5:05 pm
by devarishi
John Cartwright wrote:This has been discussed many a-times. The search term you want to use is "pagination".

That is the quickest response I have ever got! :lol:

Re: Navigation through Records or Pages Being Fetched

Posted: Tue Jun 08, 2010 5:06 pm
by John Cartwright
devarishi wrote:
John Cartwright wrote:This has been discussed many a-times. The search term you want to use is "pagination".

That is the quickest response I have ever got! :lol:
What about this one :P

Cheers.