Re: [htmltmpl] Comparing H::T:Expr variables
Brought to you by:
samtregar
From: Mathew R. <mat...@re...> - 2003-11-20 00:29:34
|
> I seems that when I call: >=20 > Model Name: <TMPL_VAR NAME=3DMODEL_NAME> > Model Comp: <TMPL_VAR NAME=3D"MODEL_COMP"> >=20 > from within: <TMPL_LOOP URLLOOP> >=20 > It prints the correct data. >=20 > Now.. Since that works, am I just using the: >=20 > <TMPL_IF NAME=3D"MODEL_COMP eq MODEL_NAME"> >=20 > Statement WRONG? The data between the IF statement never gets = displayed. Yep, you need to use <TMPL_IF EXPR=3D"MODEL_COMP eq MODEL_NAME"> Note the "EXPR". That should fix it... Mathew |