Afficher un message
Vieux 23/10/2006, 10h02   #1
rs_satya
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut problem with dynamic "array key" in smarty


I need to send an array value as a key to another array dynamically in a
template.
pls . me.

the sample code is as follows:

{foreach name=outer item=hno key=key from=$hoas}
<tr>
<td>
{$hno.sno} //OK

{$be[{$hno.sno}]} //I tried like this -- Wrong

// Here I need to send this {$hno.sno} value as a key to {$be[]} associative
array.

</td>
</tr>
{/foreach}
--
View this message in context: http://www.nabble.com/problem-with-d....html#a6950437
Sent from the Smarty - General mailing list archive at Nabble.com.
  Réponse avec citation
 
Page generated in 0,05676 seconds with 9 queries