Re: Easiest way to add paging to DB resultset?
| From: | Justin Patrin | Date: | Thu, 17 Nov 2005 22:40:16 +0000 |
| Subject: | Re: Easiest way to add paging to DB resultset? | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-21974@lists.php.net to get a copy of this message | ||
On 11/17/05, l Burnerheimerton <lburnerheimerton@yahoo.com> wrote:
> I have used DB_Pager and found it to be rather easy
> but was reminded by someone on this forum that it has
> not been maintained in years.
>
> I just need to add paging to the DB result set. I
> typically create a table by looping through html code
> and add DB_Paging code below it. It wasn't the
> easiest thing to learn to do but now that I have I
> just copy & paste it to other pages.
>
> I tried Structures_DataGrid but it is more than I
> need. It might be easier to use in the long run but
> I'd rather not have to search for examples using DB
> results set - most of what I have seen uses
> DB_DataObject which is another thing I would have to
> learn. You see, I just want to keep it simple.
>
As was said in the previous thread, try the DBQuery driver in CVS. In
addition, DB_DO isn't all that hard to set up....
> If your recommendation is to use PAGER, please include
> a link or two for examples on using it with DB.
>
As has bee linked to far too often on the list (even in the previous
thread you started) there's an example for this.
> Your thoughts are most appreciated.
>
--
Justin Patrin