Re: [SMARTY] Smarty, PEAR, Associative Array and Loops
| From: | Panu Artimo | Date: | Wed, 06 Apr 2005 13:50:25 +0000 |
| Subject: | Re: [SMARTY] Smarty, PEAR, Associative Array and Loops | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-12417@lists.php.net to get a copy of this message | ||
On Apr 6, 2005 3:40 PM, Reynier Pérez Mira <reynierpm@yahoo.es> wrote:
> Thanks. Now I understand but not everything. Now, how
> can I iterate between other elements contains in this
> variables:
> $template->assign("descArr",$descripcion);
> $template->assign("conArr",$contenido);
{$evenArr[titulo]}
{$conArr[titulo]}
{$whateverarray[titulo]}
as far as I noticed you had three arrays, all with same number of
items so you can use one index for all.
--
-:[ Panu ]:-