Re: [SMARTY] embedding variables in assign
| From: | Monte Ohrt | Date: | Wed, 12 Feb 2003 17:27:27 +0000 |
| Subject: | Re: [SMARTY] embedding variables in assign | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-7693@lists.php.net to get a copy of this message | ||
What version of Smarty? Use the latest one, that syntax should work as
expected.
On Wed, 2003-02-12 at 11:19, Travis Low wrote:
> 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>
--
Monte Ohrt <monte@ispi.net>