yep.... do this:
<TMPL_IF EXPR="((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 -----
From: "Chad Phillips" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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?
>
> This:
> <TMPL_IF EXPR="(event_id ne '915') and (event_id ne '917') and (event_id
> ne '997') ">
> Stuff
> </TMPL_IF>
>
> throws this errer:
> HTML::Template::Expr : Unable to parse expression:
>
> but
>
> <TMPL_IF EXPR="(event_id ne '915') and (event_id ne '917')">
> works just fine.
>
> any thoughts?
>
> thanks
> chad
>
>
>
>
> -------------------------------------------------------
> 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=1470&alloc_id=3638&op=click
> _______________________________________________
> Html-template-users mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/html-template-users
>
-------------------------------------------------------
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_id70&alloc_id638&op=click
_______________________________________________
Html-template-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/html-template-users