assign?
| From: | dc | Date: | Tue, 10 May 2005 07:42:26 +0000 |
| Subject: | assign? | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-12596@lists.php.net to get a copy of this message | ||
i need to assign names to items similar to a 2D array...
menu3_icon12
how to do in smarty?
{assign var='iconId' value=
m_$menuNum_i_$index}
only gives the first variable (i thot that was what the `` backticks were for ..)
in normal quotes, i get only the names of the variables
{assign var='iconId' value='$menuNum_$index' }
id='$menuNum_$index'