Use replace() to add <br> tags to the carriage returns.

--  Ben Doom
    Programmer & General Lackey
    Moonbow Software, Inc

: -----Original Message-----
: From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]
: Sent: Friday, April 04, 2003 1:40 PM
: To: CF-Talk
: Subject: Formatting output question
:
:
: I have a message form where users submit a form via a textarea
: box. In this textarea box they may make a carriage return. When I
: output the message everything is on one line and the carriage
: returns are not there. I looked in the datbase and the lines are
: setup with carriage returns.
:
: Example
: aaaaa
: bbbbb
: ccccc
:
: When I out put I get
: aaaaa bbbbb ccccc
:
: How do I format this to keep the carriage returns?
:
: ....................................
: Get your own free email account from
: http://www.popmail.com
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Archives: http://www.houseoffusion.com/cf_lists/index.cfm?forumid=4
Subscription: 
http://www.houseoffusion.com/cf_lists/index.cfm?method=subscribe&forumid=4
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Get the mailserver that powers this list at http://www.coolfusion.com

                                Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
                                

Reply via email to