Re: [SMARTY] variable inside a variable or nested variables
| From: | Zilvinas Saltys | Date: | Wed, 21 Apr 2004 19:47:24 +0000 |
| Subject: | Re: [SMARTY] variable inside a variable or nested variables | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11286@lists.php.net to get a copy of this message | ||
On Wed, 21 Apr 2004 19:29:29 +0300
David Förster <david@dfoerster.de> wrote:
> On Wed, 21 Apr 2004 19:20:10 +0000
> Zilvinas Saltys <araki@esu.lt> wrote:
>
> > So the problem appears when i try to use {${$row}.header}... This does not work.
> > Is there a way to access my arrays en[] ru[] from this loop?#
>
> Yes, the syntax is $row.header
> (see http://smarty.php.net/manual/en/language.variables.php)
Hello,
I was asking about nested variables and you are showing me how to access an array.. $row is not an
array.. $row might be something like en ru lt...
And i want to use those values to reach my arrays that i setted.
Bye