AW: [SMARTY] finding array members
[email protected] ("Wojciech Duda")
| Newsgroups | php.smarty.general |
|---|---|
| Message-ID | <!&!AAAAAAAAAAAYAAAAAAAAAMwg5obIYbZAntJvGBlZ5ULCgAAAEAAAAFSG3VQBHTZIkpfRNweWHyIBAAAAAA==@schlosswerk.de> |
Hello, Yes there is, kinda like the second example you made: http://smarty.php.net/manual/en/language.function.foreach.php HTH -----Ursprüngliche Nachricht----- Von: [email protected] [mailto:[email protected]] Im Auftrag von D_C Gesendet: Thursday, 06 April 2006 4:34 An: Smarty Betreff: [SMARTY] 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 [email protected] skype: callto://d3ntaku http://www.pikkle.com +81 (0)80 6521 9559 http://charajam.com 【★キャラ♪ジャム★】 人気キャラとJ-POP最新ヒット曲を自分で組み合わせて 待受Flashや着Flashを作っちゃおう! _______________________________________________ -- Smarty General Mailing List (http://smarty.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php