Paging a database result set
| From: | benji | Date: | Wed, 23 Oct 2002 16:04:13 +0000 |
| Subject: | Paging a database result set | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-6218@lists.php.net to get a copy of this message | ||
i am starting to use smarty to design some smaller sites in order to get a
feel for how it works.
before i begin, is there an easy way of paging a set of results? for
example, a list of 300 newsletters needs to be shown, but we want to show 20
at a time with NEXT > and < PREV buttons at the bottom.
i can code this in php, but was wondering if there was a simple way of
providing the option in the template.
cheers,
benji.