Try...
<cfset the_image = 'img src="">
<cfif Len(Trim(imagePath)) NEQ "">
<cfset the_image = 'img src="">
</cfif>
HTH,
Mike
> I have a DB where I insert text from a form. If the text is
> blank, I still go through and insert it. I thought I could
> check on it in the display area with:
>
> <CFOutput query="people_search">
> <cfset the_image = 'img src="">
> <cfif imagePath NEQ "">
> <cfset the_image = 'img src="">
> </cfif>
> ....
>
> The NEQ "" doesn't seem to work in this situation. It
> doesn't like <cfif imagePath NEQ NULL>. So what should I do
> to see if this field is empty or not?
[Todays Threads]
[This Message]
[Subscription]
[Fast Unsubscribe]
[User Settings]
[Donations and Support]
- NEQ "" Daniel Kessler
- Re: NEQ "" Ben Doom
- Re: NEQ "" Aaron Rouse
- Re: NEQ "" brobborb
- Re: NEQ "" Joe Rinehart
- Re: NEQ daniel kessler
- Re: NEQ "" Tangorre, Michael
- Re: NEQ "" Chris McGrath
- RE: NEQ "" Tangorre, Michael