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


-------------------------------------------------------------------------
This email server is running an evaluation copy of the MailShield anti-
spam software. Please contact your email administrator if you have any
questions about this message. MailShield product info: www.mailshield.com

-----------------------------------------------
To post, send email to [EMAIL PROTECTED]
To subscribe / unsubscribe: http://www.dfwcfug.org

Reply via email to