Re: concatenation operator...?
| From: | Andrei Zmievski | Date: | Tue, 26 Jun 2001 02:43:38 +0000 |
| Subject: | Re: concatenation operator...? | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-978@lists.php.net to get a copy of this message | ||
At 03:08 PM 6/25/01 -0700, Gavin Cowie wrote:
I could be being very silly and unable to RTFM, but I've been staring at the CRT for way too long trying to find out if Smarty has the equivalent of a php "." operator... I'd like to append info onto variables I pass to included templates. e.g. {include file=header.tpl title="Admin - ".$title} sorry to lean on the list for such trivialities but I'm muchly in need of coffee. (that's my excuse anyways...)Try this: {include file=header.tpl title="Admin - $title"} -Andrei