You'd actually do it with LIMIT in your MySQL statement. There's an article on phpbuilder.com http://phpbuilder.com/columns/rod20001214.php3
or check out LIMIT in the MySQL manual. Justin French -------------------- Creative Director http://Indent.com.au -------------------- on 11/04/02 9:50 PM, Chuck "PUP" Payne ([EMAIL PROTECTED]) wrote: > Hi, > > I would to know what is a good example of how to use limits within PHP. I > have an SQL statement that looks at a database and pulls from it and all > items in it, but like to be able to show let said ten items on one page then > you press like to get the next twenty and so and so until there is no more. > Is this hard to do? > > > Chuck > -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php