loop

From: Date: Tue, 27 Mar 2001 13:09:39 +0000
Subject: loop
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-449@lists.php.net to get a copy of this message
Hi, why doesn't this work: index.php: $smarty->assign("list",Array("names"=>Array("sjappie","flappie","happie"))); index.tpl: <ul> {section name="sec1" loop=$list.names} <li>{$sec1/list.names} {/section} </ul> I can see the bullets, but no names.. -- Ivo Jansch <ivo@ibuildings.nl> ibuildings.nl BV - information technology http://www.ibuildings.nl

« previous php.smarty.general (#449) next »