Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

formating txt files

Status
Not open for further replies.

Silvano

Programmer
Jul 16, 2001
386
US
problem in hand:

in the textarea form field is typed:

one
two

three

that is written to a txt file using:

<cffile action=&quot;write&quot; file=&quot;C:\Inetpub\ output=&quot;#ParagraphFormat(form.post)#&quot;>

and than outputed using:

<cfoutput>#ParagraphFormat(temp)#</cfoutput>

result:

one two

three


I need some input on how can I write a txt file I collect from textarea form field, and then output that txt file properly formated; I would like to respect user line breaks, carriage returns, etc.
what other functions can I use here, any suggestions are welcome...

thx
Sylvano
dsylvano@hotmail.com

&quot;every and each day when I learn something new is a small victory...&quot;
 
no answer necesary here;
i am writing text file using HTMLCodeFormat(), and that works just fine;
Sylvano
dsylvano@hotmail.com

&quot;every and each day when I learn something new is a small victory...&quot;
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top