Re: include with variable parameters
| From: | Andreas Kossmeier | Date: | Fri, 23 Mar 2001 11:46:00 +0000 |
| Subject: | Re: include with variable parameters | ||
| References: | 1 | Groups: | php.smarty.general |
| Request: | Send a blank email to php-smarty-general+get-405@lists.php.net to get a copy of this message | ||
hi,
Marc Logemann wrote:
> first of all, thx for such a nice piece of template software, its
> by far the best php template engine in town.
your're damn right :) very good piece of work.
> But i have one problem, how can i do something like this:
> {include file="_tc9.tpl" r1="{$inhalt1/td.userid}"}
> I need to pass parameters which are not static.
i don't really see the need of passing a "variable parameter" to the
included template file. the template variables are also available
within the scope of the included file, so why renaming?
andreas
--
andreas kossmeier
bergfex.at - http://www.bergfex.at