Re: Easiest way to add paging to DB resultset?
| From: | Lorenzo Alberton | Date: | Fri, 18 Nov 2005 07:38:57 +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-21978@lists.php.net to get a copy of this message | ||
l Burnerheimerton wrote:
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. If your recommendation is to use PAGER, please include a link or two for examples on using it with DB.I sent you a full working example as a reply to your first question: http://news.php.net/php.pear.general/21950 Regards, -- Lorenzo Alberton http://pear.php.net/user/quipo