PEAR::DB_Pager is a good example of how to do this. The getData function is all you need.
http://pear.php.net/DB_Pager http://cvs.php.net/co.php/pear/DB_Pager/Pager.php?login=2&r=1.4 olinux --- Ted Conn <[EMAIL PROTECTED]> wrote: > Hi I am new to this newsgroup and I plan on replying > to all the posts I can > for now... but Id like to start out by asking a > question. I am trying to > paginate my sql results in 10 by 10, which I have > been able to do no > problem. but what I want to do is have the pages > layed out in google style > with (1)(2)(3)(4) etc etc and each one is clickeable > that will take you to > that page. I'll show you the code I am using now for > next and back > buttons... > __________________________________ Do you Yahoo!? Yahoo! SiteBuilder - Free, easy-to-use web site design software http://sitebuilder.yahoo.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php