|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
Alphanimal Smarty Rookie
Joined: 24 Apr 2004 Posts: 15
|
Posted: Mon May 03, 2004 8:49 pm Post subject: Parameters and strings including array-vars... |
|
|
Hi!
I tried to put the value of a array-element to a smarty parameter (of {include})
i tested:
Code: | {include file="test.tpl" var="test_$array.elem"}
... var="test_$array[elem]"
... var="test_$array['elem']"
... var="test_".$array.elem
|
nothing works...
so how can i do this?
thanks |
|
Back to top |
|
boots Administrator
Joined: 16 Apr 2003 Posts: 5611 Location: Toronto, Canada
|
|
Back to top |
|
Alphanimal Smarty Rookie
Joined: 24 Apr 2004 Posts: 15
|
Posted: Tue May 04, 2004 12:39 pm Post subject: Thanks! |
|
|
That worked... |
|
Back to top |
|
|
|
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
|