i have associative array , made datadump of (see picture)
with smarty want pw_pro_code visible in select list
{foreach from=$clientprojects item=array} {foreach from=$array item=pw_pro_code} <option value="{$pw_pro_code}">{$pw_pro_code}</option> {/foreach} {/foreach}
but shows me both pw_pro_code , pw_wc_instanceid in list. doing wrong?
a single loop work -
{foreach from=$clientprojects item=array} <option value="{$array.pw_pro_code}">{$array.pw_pro_code}</option> {/foreach}
Comments
Post a Comment