Re: paging large amounts of data
| From: | leegold | Date: | Wed, 24 Aug 2005 04:20:00 +0000 |
| Subject: | Re: paging large amounts of data | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-20569@lists.php.net to get a copy of this message | ||
> On 8/23/05, Lukas Smith <lsmith@php.net> wrote:
> > Justin Patrin wrote:
> >
> > > Nope. Jumping and Sliding refer (AFAIK) to the style of the links,
> > > not the contents of the pages. With jumping you get pages 1-x and
> > > when you click next (or maybe x as well) you get 6-10. With
> > > sliding the currently selected page stays in the middle if it can.
> >
> > not if i read this correctly:
> >
> > http://pear.php.net/manual/en/package.html.pager.compare.php
....snip....
Great pager implementations like this are what make me want to
learn PHP.
Have a look:
http://marc.theaimsgroup.com/?l=pear-general&m=111951219715148&w=2
See
that link in the post: ".....Pager_Wrapper.php"? It works nicely for
paging lots of data - when you want to page chunks of a DB at a time.
But more to the point, you have to tweak the pager to your taste by
playing with a big result set and trying it out. Do have a DB with a
couple thousand records to play with?
Lee G.