[prev in list] [next in list] [prev in thread] [next in thread] 

List:       smarty-general
Subject:    Re: [SMARTY] foreach in reverse
From:       Matt Warden <mwarden () gmail ! com>
Date:       2005-08-12 23:21:19
Message-ID: 42FD2EEF.4010907 () gmail ! com
[Download RAW message or body]

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic