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]

Reply via email to