Re: [SMARTY] Question about Sections in Sections
| From: | Jason Sweat | Date: | Thu, 23 May 2002 13:36:32 +0000 |
| Subject: | Re: [SMARTY] Question about Sections in Sections | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-4382@lists.php.net to get a copy of this message | ||
Harald ,
Part of the problem is probably:
you assigned: $Smarty->assign( "Anest", $a["nest"] );
so you do not need to refrence the "nest" key in
smarty:
{section name=k loop=$Anest["nest"]["foo"][i] } {*
here i have parse err*}
should be more like:
{section name=k loop=$Anest.foo[i] }
(not 100% sure on the assosiative array syntax, but
hopefully this gets you moving in the right
direction).
Jason
__________________________________________________
Do You Yahoo!?
LAUNCH - Your Yahoo! Music Experience
http://launch.yahoo.com