Sections
| From: | LIMBOURG Arnaud | Date: | Mon, 25 Feb 2002 19:00:17 +0000 |
| Subject: | Sections | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-2845@lists.php.net to get a copy of this message | ||
Hello,
I don't remember is this question was asked but someone in my team wants to
do the following
{section name=bigloop}
{if condition eq "2"}
<select name="">
{section name=index loop=$listepopsperimetre[toto]}
<option
value={$listepopsperimetre[PROBLEMHERE][indexpops].POP_ID}>
</option>
{/section}
{/section}
As you can see there is a PROBLEMHERE, it cannot be referenced with bigloop.
Is there a way to have counter incremented only when the if statement is
fullfilled ?
Arnaud