Re: [htmltmpl] how many expressions allowed?
Brought to you by:
samtregar
From: Mathew R. <mat...@re...> - 2004-03-29 23:03:58
|
yep.... do this: <TMPL_IF EXPR=3D"((event_id ne '915') and (event_id ne '917')) and = ((event_id ne '997') ...)"> Stuff </TMPL_IF> ... notice that we group two pairs of expressions using the brackets.. Mathew ----- Original Message -----=20 From: "Chad Phillips" <gph...@ka...> To: <htm...@li...> Sent: Tuesday, March 30, 2004 8:54 AM Subject: [htmltmpl] how many expressions allowed? > I am having a problem with EXPR. Is there a limit to how man ANDs you = can > have? >=20 > This: > <TMPL_IF EXPR=3D"(event_id ne '915') and (event_id ne '917') and = (event_id > ne '997') "> > Stuff > </TMPL_IF> >=20 > throws this errer: > HTML::Template::Expr : Unable to parse expression: >=20 > but >=20 > <TMPL_IF EXPR=3D"(event_id ne '915') and (event_id ne '917')"> > works just fine. >=20 > any thoughts? >=20 > thanks > chad >=20 >=20 >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > = administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dcli= ck > _______________________________________________ > Html-template-users mailing list > Htm...@li... > https://lists.sourceforge.net/lists/listinfo/html-template-users > |