That IS how they will go into the database. You just have to make sure to
format it that way when outputting it since browsers don’t parse CRs as line
breaks.

So just insert the...
Name1
Name2
Name3

Then when you output it replace the CRs with <br /> tags like so...

#Replace(query.column, "#chr(13)##chr(10)#", "<br />", "all")#

....or just wrap it in pre tags ;-)

..:.:.:.:.:.:.:.:.:.:.:.:.
Bobby Hartsfield
http://acoderslife.com

 

 

-----Original Message-----
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
Sent: Saturday, August 26, 2006 12:15 PM
To: CF-Talk
Subject: OT: CR in a textarea problem

Hi list,
I have the following
in a textarea (form):

name1
name2
name3

and I want to output
the values of the field
exaxtly the same like:

name1
name2
name3

not like: name1 name2 name3

How can I catch the CR after
every line ?

Uwe





~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting,
up-to-date ColdFusion information by your peers, delivered to your door four 
times a year.
http://www.fusionauthority.com/quarterly

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:251147
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

Reply via email to