Smarty Forum Index Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon.

problem with array index

 
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Russian
View previous topic :: View next topic  
Author Message
satahippy
Smarty n00b


Joined: 06 Oct 2011
Posts: 2

PostPosted: Thu Oct 06, 2011 9:59 am    Post subject: problem with array index Reply with quote

Здравствуйте, в шаблон передаётся массив
$arr ('name.subname' => 'val', 'name1.subname' => 'val2', 'name.subname2' => 'val3')
Вопрос: как я могу обратиться к элементу массива в smarty?
(Например к $arr['name.subname'])
Back to top
View user's profile Send private message
satahippy
Smarty n00b


Joined: 06 Oct 2011
Posts: 2

PostPosted: Fri Oct 07, 2011 10:22 am    Post subject: Reply with quote

неужели всё так сложно....
Back to top
View user's profile Send private message
wafflez
Smarty n00b


Joined: 13 Oct 2011
Posts: 1
Location: http://www.autoproms.ru/

PostPosted: Thu Oct 13, 2011 1:33 pm    Post subject: Reply with quote

У меня была такая же проблема, так и не разобрался. Буду рад услышать ответ
Back to top
View user's profile Send private message AIM Address Yahoo Messenger MSN Messenger
Display posts from previous:   
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Smarty Forum Index -> Language: Russian All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP