Smarty: indirect variables
| From: | Skliarouk Arieh | Date: | Tue, 16 Apr 2002 07:49:02 +0000 |
| Subject: | Smarty: indirect variables | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-3765@lists.php.net to get a copy of this message | ||
Hi!
Could you advise me please how to use indirect variables in Smarty:
{$date="11/12/2001"}
{$MyIndex="date"}
How could I get content of $date variable using only $MyIndex variable?
Something like $$MyIndex in perl.
Thank you in advance!
---
Bye, | Fax: (972)-2-6796453 | Debian
Arieh | Phone: (972)-5-4888832 | Now !!!