embedding variables in assign
| From: | Travis Low | Date: | Wed, 12 Feb 2003 17:19:46 +0000 |
| Subject: | embedding variables in assign | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7692@lists.php.net to get a copy of this message | ||
Is it possible to embed variables within an assignment? For example:
{section name=item loop=$items}
{assign var=s value="View information for $items[item].id"}
{/section}
I keep getting a parse error, so I'm wondering if there is any magic synatax I can use.
--
Travis Low
<mailto:travis@dawnstar.org>
<http://dawnstar.org/travis>