Mam tablicę, którą chciałbym wyświetlić w szablonach smarty:
[0]=> object(stdClass)#7 (1) { ["my-account-array"]=> [0]=> string(10) "1215638992" [1]=> string(4) "0.00" [2]=> string(4) "0.00" [3]=> string(4) "0.00" [4]=> string(6) "180.00" [5]=> string(1) "1" [6]=> string(19) "2010-10-22 15:28:48" } } }
w php zrobiłem coś takiego
$tablica - to jest tablica foreach($tablica as $key) { $ids[] = $key->{'my-account-array'}['0']; $ids[] = $key->{'my-account-array'}['1']; }
dane wyświetlają się ok,
Jak można zrobić to w smarty?