[SMARTY] foreach in reverse

Matt Warden <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
smarties,

I was hoping that there was a way to do a foreach in reverse (i.e.,
starting with the last element and ending with the first). After
seeing that there doesn't seem to be, I tried to work out the
equivalent of a 'foreach in reverse' with sections and a negative
step. Does someone have an example of doing this?

-- 
Matt Warden
Miami University
Oxford, OH, USA
http://mattwarden.com


This email proudly and graciously contributes to entropy.

-- 
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.