[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