Afternoon guys,
 
Quick question:
 
I'm trying to insert an image into a page using a references kept in an SQL
Server DB. Here's the code:
 
<CFIF #getSuppliers.logo# neq '<NULL>'>
   <td valign="top" align="right"><CFOUTPUT query="getSuppliers"><img
src="logos/#logo#.jpg"></CFOUTPUT></td>
</CFIF>
 
This works fine when there is actually a value in a record but I'm getting a
red cross when it doesn't (indicating it's ignoring my CFIF statement).
 
Basically, how do you tell it to ignore the table row if the value is
<NULL>?
 
Cheers in advance,
James

Reply via email to