attributes.showimage NEQ "No")>
Display PImage
</CFIF>
I think that was what I was looking for..shortens the IF statement and
does the same thing. :)
-Gel
-----Original Message-----
From: Won Lee [mailto:[EMAIL PROTECTED]
Sent: Friday, July 30, 2004 1:11 PM
To: CF-Community
Subject: RE: A better CFIF Statement than this?
At 13:03 7/30/2004 -0400, you wrote:
>Yeah but then I will need to put another check anyways to see if pimage
is
>empty
>later on...?
>
>-Gel
<CFIF (GetMerch.pimage NEQ "" AND attributes.showimage NEQ "NO" ) OR
(GetMerch.pimage EQ "" AND attributes.showimage NEQ "NO")>
Display PImage
</CFIF>
You check to see if getMerch.pimage has no length or length which means
that it doesn't matter as long as the variable exists.
[Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
