Re: paging large amounts of data

From: Date: Tue, 23 Aug 2005 15:56:21 +0000
Subject: Re: paging large amounts of data
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20543@lists.php.net to get a copy of this message
Klaus Guenther wrote:
Off the top of my head... What you do is pass an array of the total number of items, storing merely an ID for each one. When you generate the page, just grab the items you want from the database. Does that sound reasonable?
no .. i dont even want to fetch all the id's. i just want to do a count(*) .. regards, Lukas

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