Re: DB Pager: Many pages, many links

From: Date: Wed, 07 Nov 2001 20:30:40 +0000
Subject: Re: DB Pager: Many pages, many links
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-480@lists.php.net to get a copy of this message
Just a small correction, where it reads ..."So page 23 would show links from 13 to 23, but no... "... Should be from 13 to 33... -- Julio Nobrega A hora está chegando: http://toca.sourceforge.net "Julio Nobrega Trabalhando" <inerteARROBAhotmail.com@pb1.pair.com> wrote in message news:20011107201223.72469.qmail@pb1.pair.com... > Hi All! > > I am currently using the DB Pager to make pages of 2524 records stored on > my database. > > There's a foreach that produces a direct link to the pages, listing their > numbers. So: > > 1 2 3 4 5 6 7 > > 1 has a link to show the first 10 records, 2 to show the next 10, 3 to > show between 20 and 30, and so on... > > But with 2524 records, that's 253 pages, 253 links! > > I tried to make something like google results where just the aproximate > (spelling on that?) pages are show. So page 23 would show links from 13 to > 23, but no... I could not do it. > > Anyway you people imagine? If you wish, describe it abstracly and I will > code it and publish here, either way, that would be something cool to have > ;-) > > Thnaks all, > -- > > Julio Nobrega > > A hora está chegando: > http://toca.sourceforge.net > >

« previous php.pear.general (#480) next »