Re: DB_Pager doesnt work with MDB
| From: | Justin Patrin | Date: | Tue, 04 Jan 2005 07:29:21 +0000 |
| Subject: | Re: DB_Pager doesnt work with MDB | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-16576@lists.php.net to get a copy of this message | ||
On Tue, 4 Jan 2005 18:13:42 +1100, electroteque <daniel@electroteque.org> wrote:
> Hi list, I am having issues getting DB_Pager to work with MDB, also how
> can I get pager to work with proper paging like page=2 and it calculate
> it rather than programatically calculating the start and limit to give
> to limitQuery ? Will I have to create a subclass to do this ?
>
DB_Pager doesn't work with MDB because MDB is not DB.
Check the examples for pager. There's one which does paging with DB
that you should be easily able to alter for MDB.
--
Justin Patrin