Re: [SMARTY] concat 2 variable
| From: | Jason Sweat | Date: | Thu, 05 Feb 2004 11:34:07 +0000 |
| Subject: | Re: [SMARTY] concat 2 variable | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-10928@lists.php.net to get a copy of this message | ||
From: "adwinwijaya" <adwinwijaya@yahoo.com.au>
> my question is:
> how to concate 2 variable in smarty ?
> I want to put
> {include file=#root_directory#.'templates/header.tpl'}
> inside my content.tpl
> I have already tried it ... and it produce error.
You question was answered, however, I think you only need to do {include
file="header.tpl"} with no concatenation at all to accomplish your
current goal.