Re: [SMARTY] foreach in reverse
| From: | Matt Warden | Date: | Fri, 12 Aug 2005 23:21:19 +0000 |
| Subject: | Re: [SMARTY] foreach in reverse | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12955@lists.php.net to get a copy of this message | ||
-----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-----