On Wed, 26 Jun 2002, Peter Scott wrote:
> > my $foo = "var1";
> > $template->param("x.$foo" => "bar");
>
> Color me dense, but what would the HTML side look like in that case?
<tmpl_var x.var1>
Which could be in a block like this if there are fixed set of
possibilities:
<tmpl_if x.var1><tmpl_var x.var1></tmpl_if>
<tmpl_if x.var2><tmpl_var x.var2></tmpl_if>
<tmpl_if x.var3><tmpl_var x.var3></tmpl_if>
-sam
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]