CVS version and concatting strings
| From: | Nichlas Löfdahl | Date: | Mon, 27 Jan 2003 16:33:36 +0000 |
| Subject: | CVS version and concatting strings | ||
| Groups: | php.smarty.general | ||
| Request: | Send a blank email to php-smarty-general+get-7343@lists.php.net to get a copy of this message | ||
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