finding array members

[email protected] (D_C)
Newsgroups 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
_______________________________________________
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.