[thelist] CFMX having difficulty with BR

Jeff Howden jeff at jeffhowden.com
Sun Feb 29 00:54:14 CST 2004


> From: Russ
> I have a problem with my CFMX sites that post from form
> data entered into the database.
> When re-displaying on the site, I use:
> <CFSET strCRLF = #Chr(10)# & #Chr(13)#>
> <CFSET strHTMLCRLF = "<P/>">

first, the hashes are redundant and unnecessary.

second, it's 13 and 10 (in that order).

<cfset strCRLF = Chr(13) & Chr(10)>

third, there's no such thing as a <p/> tag.

fourth, go to cflib.org and find xhmtlparagraphformat().  it'll take care of
it all for you automatically.


Jeff Howden - Web Application Specialist
Resume - http://jeffhowden.com/about/resume/
Code Library - http://evolt.jeffhowden.com/jeff/code/

More information about the thelist mailing list