Re: [SMARTY] embedding variables in assign

From: Date: Wed, 12 Feb 2003 17:31:42 +0000
Subject: Re: [SMARTY] embedding variables in assign
References: 1 2  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7694@lists.php.net to get a copy of this message
2.3.1. There was a typo in my template that caused the error, but it still does not display correctly. I see only ".id". Is this expected for 2.3.1? Travis Monte Ohrt wrote:
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>
-- Travis Low <mailto:travis@dawnstar.org> <http://dawnstar.org/travis>

« previous php.smarty.general (#7694) next »