I've done something similar from forms.

Basically, I use one replace to remove all the chr(13)'s, then replace all
chr(10)'s with <br>#chr(10)#.


  --Ben Doom
    Programmer & General Lackey
    Moonbow Software

: -----Original Message-----
: From: Russ [mailto:russ@;unrealisticexpectations.com]
: Sent: Monday, November 11, 2002 3:30 PM
: To: CF-Talk
: Subject: Retrieving CRs from the database
:
:
: I'm pulling content from my database that has been inputted via a form.
: When I output as HTML, well, let's just say I don't want to do that.
:
: Instead, I'd like to understand how to recognize a CR from the database
: and treat it as a <BR> or <P> as necessary.
:
: Has anyone worked on this or can give me some advice as to how to
: perform?
:
: Thanks,
:
: Russ
:
: 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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
Your ad could be here. Monies from ads go to support these lists and provide more 
resources for the community. http://www.fusionauthority.com/ads.cfm

Reply via email to