Thanks acoder !
Also thanks for the reply, but it doesnt work :(
Still no line breaks in HTML.
Greets !
User Profile
Collapse
-
change nl to <br>
Hi,
I have never written CF in my life, but I have to make a small change to a CF project (written by someone else of course).
The CF app writes text away in the db, but the line breaks dont work in HTML, so I need to find an similar function of PHP's nl2br().
I tryed (as posted earlier on this forum) to replace the CF line break char with '<br>' this way :
<cfset #text# = replace(#sessio n.uploadFile#,' #Chr(10)##Chr(1 3)#','<br>',all )>...
No activity results to display
Show More
Leave a comment: