Re: google style paginating
| From: | olinux | Date: | Fri, 22 Aug 2003 02:59:14 +0000 |
| Subject: | Re: google style paginating | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-160380@lists.php.net to get a copy of this message | ||
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 <tedc@scinet.com.mx> 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