Re: [SMARTY] foreach in reverse

Matt Warden <[email protected]>
Newsgroups gmane.comp.php.smarty.general
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

boots wrote:
> I assume that this would work:
> 
> {foreach from=$myarray|@array_reverse:true item=foo} ...

Worked great (why didn't I think of that?). Thanks.

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


This email proudly and graciously contributes to entropy.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFC/S7vAQ0d4HGyPE8RAjPiAJ9T+CEH1qoL1HC+O52XLO19Voj2VwCfZosj
3uFjFS6yK7TRakrT7eLBoMA=
=cjXB
-----END PGP SIGNATURE-----

-- 
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.