Re: [SMARTY] Section problem
| From: | Tom Sommer | Date: | Thu, 20 Feb 2003 14:07:53 +0000 |
| Subject: | Re: [SMARTY] Section problem | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7994@lists.php.net to get a copy of this message | ||
"Messju Mohr" <messju@lammfellpuschen.de> wrote in
news:20030220140307.GT1626@pharao.lammfellpuschen.de...
> {foreach from=$menu key=name item=href}
> menu = <a href="{$href}">{$name}</a><br>
> {/foreach}
Thanks, it works
Does smarty not have blocks like PHPLIB?
like
<!-- BEGIN menu -->
<a href="{URL}">{$ITEM}</a>
<!-- END menu -->
--
Tom Sommer
www.tsn.dk - www.dreamcoder.dk