Discussion: finding array members
Afficher un message
Vieux 06/04/2006, 03h33   #1
D_C
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut finding array members

i am working on a smarty template with some passed in arrays from
another programmer.

is there a way in smarty of walking through the array to find out the
index names etc?

eg in the .tpl

{$array[0].key}

or

{foreach item=fitem key=fkey from=$titem}
{$fkey}

thanks!
--
_______________________________________________
David "DC" Collier
US 1-415-283-7742
dc@pikkle.com
skype: callto://d3ntaku
http://www.pikkle.com
+81 (0)80 6521 9559

http://charajam.com$B!!!Z!z%-%c%i"v%8%c%`!z![(B
$B?M5$%-%c%i$H(BJ-POP$B:G?7%R%C%H6J$r<+J,$GAH$_9g$o$;$F(B
$BBT<u(BFlash$B$dCe(BFlash$B$r:n$C$A$c$*$&!* (B
_______________________________________________
  Réponse avec citation
 
Page generated in 0,07572 seconds with 9 queries