Re: [SMARTY] accessing array from within section loop
| From: | Jason Sweat | Date: | Sat, 10 May 2003 14:48:22 +0000 |
| Subject: | Re: [SMARTY] accessing array from within section loop | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-9516@lists.php.net to get a copy of this message | ||
The next line probably needs to be converted to the smarty associative
syntax:
{$array2.$status}
----- Original Message -----
From: "Robert Mena" <rt_mena@yahoo.com>
> Sure, it was a type.
> but still the problem remains.
> > > For ex.
> > > {section name=count loop=$array1}
> > >
> > > {assign var="status" value=$array1[cont].value1}
> > > {$array2[$status]}
> > > {/section}