You may want to have a look at this tutorial:
http://www.phpfreaks.com/tutorials/73/0.php
"Tim Van Wassenhove" <euki@pi.be> wrote in message
news:bqus23$26muvp$3@ID-188825.news.uni-berlin.de...[color=blue]
> On 2003-12-07, AR John <arjohn7681@yahoo.com> wrote:[color=green]
> > Hi Everyone,
> >
> > I was developing a browser based software and one of the features of
> > that software is that it will search some products with some matching
> > criteria and the result will be displayed the product names as a
> > links. Sometimes I got few thousands of product names and I want to
> > show 30 items at a time using html. I was using MySql as database and
> > PHP for programming.
> >
> > Could anybody tell me how it is possible to show the result with 30
> > items each time having "first-prev-next-last" links? Where to store
> > the result? How can handle multiple user access?[/color]
>
> AFAIK there is no way to store resultsets. So you would have to perform
> the query for each page, and then use LIMIT limit,offset to filter out
> the rows you want to show. Having an index on the columns you use for
> your selection might speed things up.
>
> --
> verum ipsum factum[/color]