Joseph Crawford wrote:
that is the url to the PHP 5 object i created, it was created to show
the use of the singleton pattern.  This means you can only use this
class to have one pager per page.
i can edit the code if you do not know how to make it so you can have
more than one per page.

So you're proposing he uses this class and loads the _entire_ result of a query (with no LIMIT) into an array, then passes that to your class which chops it up into pages and then displays one of them? Do you really think that's more efficient? The question was about how to make two queries more efficient:

SELECT ... FROM table WHERE ... LIMIT x,y


---John Holmes...

Amazon Wishlist:

php|architect: The Magazine for PHP Professionals –

PHP Database Mailing List (
To unsubscribe, visit:

Reply via email to