Re: PHP Array question
| From: | Matt M. | Date: | Tue, 15 Feb 2005 20:45:13 +0000 |
| Subject: | Re: PHP Array question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-208776@lists.php.net to get a copy of this message | ||
> What I want to do is to only show 20 pictures at a time with a "Next" link
> and a "Previous" link. For the first 20 only the "Next" link would show and
> whenever the last set would show only the "Previous" link would. Every other
> time both would show.
>
> Can someone point me in the right direction on how to count through the
> elements until the end and back to display them? I just can't figure it out.
sounds like you just might need some paging functions
http://pear.php.net/package/Pager
http://pear.php.net/manual/en/package.html.pager.php