[thelist] Html question on coldfusion

Cheryl Ash cheryla at labx.com
Tue Feb 1 14:25:46 CST 2005


I know a little CF, Hope this helps.


<CFOUTPUT QUERY="concelhos_report"> 
    <tr> 
       <td height="19" >
		<cfif Descricao EQ "Something">
			#Descricao#
		<cfelse>
			<a href="#URL#">#Descricao#</a>
		</cfif>
	  </td>
        <td height="19" >#Concelho#</td>
    </tr>
</cfoutput>


Cheryl Ash



-----Original Message-----
From: thelist-bounces at lists.evolt.org [mailto:thelist-bounces at lists.evolt.org] On Behalf Of Rui Madeira
Sent: January 31, 2005 10:58 AM
To: The List
Subject: [thelist] Html question on coldfusion

Hello to everyone rom Portugal
 
<CFOUTPUT QUERY="concelhos_report"> 
                <tr> 
                  <td height="19" ><a href="#URL#">#Descricao#</a></td>
                  <td height="19" >#Concelho#</td>
      </tr>
              </cfoutput>
 
This is my script. What I need is that when the return in #Descrição# is "something" it wouldn´t be transformed into a link
 
Can anybody help me?
 
Thank you in advanced
Rui Madeira  

		
---------------------------------
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador do Yahoo! agora.
-- 

* * Please support the community that supports you.  * *
http://evolt.org/help_support_evolt/

For unsubscribe and other options, including the Tip Harvester 
and archives of thelist go to: http://lists.evolt.org 
Workers of the Web, evolt ! 


More information about the thelist mailing list