Re: [PHP] Re: google style paginating

2003-08-22 Thread Robert Cummings
IMHO a PEAR pager package sounds like a sledgehammer when all that's needed is a hammer. Cheers, Rob. On Fri, 2003-08-22 at 17:59, Rob Yelvington wrote: > The Pear Pager class works like a champeen, too. It'll paginate results > however you'd like it to. > > ~Rob > > > Chris W. Parker wrote:

Re: [PHP] Re: google style paginating

2003-08-22 Thread Rob Yelvington
The Pear Pager class works like a champeen, too. It'll paginate results however you'd like it to. ~Rob Chris W. Parker wrote: Robert Cummings on Thursday, August 21, 2003 4:46 PM said: Don't retrieve ALL the queries then only display a subset. Otherwise what's th

RE: [PHP] Re: google style paginating

2003-08-21 Thread Chris W. Parker
Robert Cummings on Thursday, August 21, 2003 4:46 PM said: > Don't retrieve ALL the queries then > only display a subset. Otherwise what's the point of using the LIMIT > clause for conservation of resources? The "SELECT COUNT( * ) FROM > foo" query is usually optimi

Re: [PHP] Re: google style paginating

2003-08-21 Thread Robert Cummings
Ummm I wouldn't do what these guys suggest (at least not all of it)... perform two queries, one counting the total number of returns the other to actually get the subset. Don't retrieve ALL the queries then only display a subset. Otherwise what's the point of using the LIMIT clause for conservation