Hi,

I'm reading in a ascii file that I need to loop through to add an <input 
box in front of each entry.

<cffile action="READ"
         file="c:\text.txt"
         variable="ReadMe">

<cfset ReadMe = Replace(ReadMe, Chr(13) & Chr(10), "<br>", "ALL")>

<cfoutput>
#ReadMe#
</cfoutput>

Outputs:

file1
file2
file3
file4
file5

What I need to to is loop through the above variable and output the 
following using
<cfinput type="Checkbox" name="select" value="#ReadMe#">#ReadMe#<br>

[  ] file1
[  ] file2
[  ] file3
[  ] file4
[  ] file5
______________________________________________________________________
Dedicated Windows 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=coldfusiona
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