Re: [SMARTY] variable inside a variable or nested variables
| From: | David Förster | Date: | Wed, 21 Apr 2004 16:29:29 +0000 |
| Subject: | Re: [SMARTY] variable inside a variable or nested variables | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-11284@lists.php.net to get a copy of this message | ||
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)
- david
Attachment: [application/pgp-signature]
Attachment: [application/pgp-signature]