question/comment... i don't use PEAR currently. but i noticed this class expects register_globals=on and would therefore not to work on my system. Or does another parent class take care of the translation between $form and $_GET['form']? Jeff pete M <pmorgan@xxxxxxxx To: php-db@xxxxxxxxxxxxx > cc: Subject: Re: Page counter from a query ? 11/04/2003 09:53 AM I use PEAR db to make my life easy.. here's their pager class http://vulcanonet.com/soft/index.php?pack=pager pete Larry Sandwick wrote: > Is there a way to limit the number of pictures being display from a > query? > > > > Example. > > > > Let say I have 100 pictures and I would like to display only 20. How > would I put the numbers at the bottom of the page? > > > > 1 2 3 4 5 > > > > When you click on 1 you get 1 - 20, and when you click on 2 you get 21 - > 40. I believe I can use the limit command for the query, I just do not > understand how to put the query on the number. > > > > Any help would greatly be appreciated!!! > > > > TIA > > > > > > Larry Sandwick > > Sarreid, Ltd. > > Network/System Administrator > > phone: (252) 291-1414 x223 > > fax : (252) 237-1592 > > > > -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php -- PHP Database Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php