Easiest way to add paging to DB resultset?
| From: | l Burnerheimerton | Date: | Thu, 17 Nov 2005 20:18:47 +0000 |
| Subject: | Easiest way to add paging to DB resultset? | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-21973@lists.php.net to get a copy of this message | ||
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.
If your recommendation is to use PAGER, please include
a link or two for examples on using it with DB.
Your thoughts are most appreciated.
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com