Re: referencing associative arrays using template variables
| From: | Andrei Zmievski | Date: | Thu, 28 Jun 2001 15:13:11 +0000 |
| Subject: | Re: referencing associative arrays using template variables | ||
| References: | 1 2 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-1043@lists.php.net to get a copy of this message | ||
On Wed, 27 Jun 2001, Jason Sweat wrote:
> My inital instinct was to try to write something like
> {$DATA[data].{$XML[xml]}}
> with the inner smarty brackets indicating a template variable that should be
> evaluated before being applied as the assosiative key.
Yep, that would be peachy, except that is not quite possible since it
requires recursive template evaluation. I'll try to keep it in the back
of my mind in case a bright idea decides to emerge out of there one day.
-Andrei
* There is no knowledge that is not power. *