AW: [SMARTY] CVS version and concatting strings

From: Date: Mon, 27 Jan 2003 17:09:33 +0000
Subject: AW: [SMARTY] CVS version and concatting strings
References: 1  Groups: php.smarty.general 
Request: Send a blank email to php-smarty-general+get-7345@lists.php.net to get a copy of this message
Try {include file="include/table.ihtml" title="Table describing $foo[bar]"} > Greetings! > > In Smarty 2.3.1 this kind of stuff worked: > > {include file="include/table.ihtml" title="Table describing ".$foo[bar]} > > This gives an error with the latest CVS-version. > > I know I can do something like this: > > {assign var=tmp value=$foo[bar]} > {include file="include/table.ihtml" title="Table describing $tmp"} > > But is there an easier way to concat variables from an array? > > /Nichlas > >

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