Implementing paging
What is the best way to implement paging through database results? Say
there are two hyperlinks NEXT and PREV on the page.
I am stumped, would like to know how to proceed from here.
Should a global variable that keeps track of the results page number
be used? What else is required? What if I want to use a POST method
and not a GET? How do I do that?
Any appreciated!
|