> 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to