finding array members
| From: | D_C | Date: | Thu, 06 Apr 2006 02:33:33 +0000 |
| Subject: | finding array members | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-13386@lists.php.net to get a copy of this message | ||
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 【★キャラ♪ジャム★】
人気キャラとJ-POP最新ヒット曲を自分で組み合わせて
待受Flashや着Flashを作っちゃおう!
_______________________________________________