Recommendation for a Pagination procedure AJAX PHP

Posted by Jamex on Stack Overflow See other posts from Stack Overflow or by Jamex
Published on 2010-06-03T21:54:36Z Indexed on 2010/06/03 22:04 UTC
Read the original article Hit count: 166

Filed under:
|
|
|

Hi,

I am not sure the correct terminology for the process that I am trying to describe. I don't even know which platform is underlying the technique. If you understand my description, please give the link to the site(s) and or the keyword name of the process. I think it is done by AJAX, but I am not certain. I use php as the backend code, I just need to find a way to dynamically display the results. Please give suggestions. I forgot the name of the sites that use this, and my link history expired.

TIA

Description:

The page would have a search form and options. After the user submits, the search is initiated, and the results appear inside the dedicated result area. The page does not refresh, just the info inside the result area.

The display area will show 20 (or whatever) results (lines). There will be next, and previous buttons. If you hit next, the next set of results will display.

I am writing a code that generates 20 results for each display. There is no set number of results, so the results might have a start/first page, but do not have an end page.

Each time the user hits 'next', the program would generate/load new results. It would also store previous results, so that when a user hits 'prev', the previous results can instantly come up.

What techniques/program are theses?

© Stack Overflow or respective owner

Related posts about php

Related posts about AJAX