I have a guestbook that I wrote. I want 10 results per page, how would I go about doing this divding the entries into pages. I know it has something to do with the LIMIT command.
Depending on what database you're using, you could use LIMIT and OFFSET.. Consult your database's documentation for syntaz and details.
Or even better, you could check out the PHP Builder article on that sort of thing:
http://www.phpbuilder.com/columns/rod20000221.php3
Good luck,
Stephen