[SMARTY] finding array members
D_C <[email protected]>
| Newsgroups | gmane.comp.php.smarty.general |
|---|---|
| Message-ID | <[email protected]> |
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
[email protected]
skype: callto://d3ntaku
http://www.pikkle.com
+81 (0)80 6521 9559
http://charajam.com
J-POP
FlashFlash
_______________________________________________
--
Smarty General Mailing List (http://smarty.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php