order arrays
| From: | Roderik Emmerink | Date: | Mon, 18 Apr 2005 00:02:13 +0000 |
| Subject: | order arrays | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12527@lists.php.net to get a copy of this message | ||
Hi,
I've got the code:
{foreach item=premiumvermelding_id from=$premiumvermeldingen}
<htmltags>
{insert_object id=$premiumvermelding_id}</htmltags>
{/foreach}
to iterate an array.
I'd like to randomize the order in which the assigned array is iterated.
Is this possible with smarty?