associative array section
| From: | wkutting | Date: | Thu, 24 Apr 2003 09:29:11 +0000 |
| Subject: | associative array section | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-9367@lists.php.net to get a copy of this message | ||
why doesn't that work ?
($contacts is $contacts['sum'] from the php-script to smarty)
{section name=customer loop=$contacts.sum}
name: {$contacts.sum[customer].name}<br>
home: {$contacts.sum[customer].home}<br>
cell: {$contacts.sum[customer].cell}<br>
e-mail: {$contacts.sum[customer].email}<p>
{/section}
Thanks
Willy