Is there anyway to count the number of matches for the IF statement: 
    <CFIF #Trim(Logo1)# IS #Trim(LogoID)#>.

I want to CHECKed the radio button when <CFIF Logo1 IS 1 OR the count is 
1.

Hope someone can help.

Dave Clay


<cfoutput query="getLogo1">
     <cfloop list="#lchoices#" index="Logo1">
    <CFIF #Trim(Logo1)# IS #Trim(LogoID)#>
       <input type="radio" name="logoselection" 
value="#LogoID#"<CFIF Logo1 IS 1>Checked</CFIF>><img 
src="../images/#LogoImage#"alt="" border="0" 
align="absmiddle"><br>
    </cfif>
   </cfloop>
 </cfoutput>

______________________________________________________________________
Why Share?
  Dedicated Win 2000 Server � PIII 800 / 256 MB RAM / 40 GB HD / 20 GB MO/XFER
  Instant Activation � $99/Month � Free Setup
  http://www.pennyhost.com/redirect.cfm?adcode=coldfusionc
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to