YOu have to have complete boolean expressions between the OR and AND
operators. So you want this:
<cfif url.page NEQ 'test' AND url.page NEQ 'tech' AND url.page NEQ
'contact'>
cheers,
barneyb
-----Original Message-----
From: Eric Creese [mailto:[EMAIL PROTECTED]
Sent: Thursday, October 16, 2003 2:07 PM
To: CF-Talk
Subject: Dumb Question
I have a dumb question. when using CFIF I want to check against multiple
criteria.
Example:
<cfif url.page NEQ 'test' OR 'tech' OR 'contact'>
I get an error when doing this. can some post the correct way to do this.
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
- RE: Dumb question Neil Clark
- RE: Dumb question Jason Lees (National Express)
- RE: Dumb question Mike Connolly
- Re: Dumb question Tage Widsell
- Re: Dumb question Eric Dawson
- Re: Dumb question Michael Thomas
- Dumb Question Eric Creese
- RE: Dumb Question Raymond Camden
- Re: Dumb Question Bryan Stevenson
- Re: Dumb Question Les Mizzell
- Re: Dumb Question Barney Boisvert
- Re: Dumb Question Charlie Griefer
- RE: Dumb Question Greg.Morphis
- Re: Dumb Question Calvin Ward
- Re: Dumb Question Bryan Stevenson
- Re: Dumb Question Casey C Cook