How to assign associate array into the template in the nested sections?

From: Date: Thu, 09 May 2002 13:37:44 +0000
Subject: How to assign associate array into the template in the nested sections?
Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-4115@lists.php.net to get a copy of this message
For my example ( don't work ), {section name=id loop=$member} {section name=fid loop=$fields} {$member[id].$fields[fid]} <br> {/section} <p> {/section} I have a member's data array $member[], each row has its own associate array such as $member[0]['username']. But I can't put this into templates in the nested sections and always display error message. Does anyone know how to solved this problem? Thanks! Best regards, Pao-Hsi Huang

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