Question
Line breaks
Is there a better code practive for CF to both include and
show line breaks
in text areas.
I have many sites that have text areas inwhich users use the enter key to
seperate their paragraphs.
When I go to show them on a page, it all gets pushed together into one long
paragraph.
On some sites I use MySQL and on others I use MS SQL although I have
accomplished this in Classic ASP (with help from an extension) using both so
I don't think it is a DB issue.
The goal is to be able to display parapgraphs as the user has entered them
I have tried <code></code> and <pre></pre> and those did not quite work.
Thanks for any help.
Example / Goal:
I would like to have a paragraph like this.
And this.
Rather than:
I would like to have a paragraph like this. And this.
in text areas.
I have many sites that have text areas inwhich users use the enter key to
seperate their paragraphs.
When I go to show them on a page, it all gets pushed together into one long
paragraph.
On some sites I use MySQL and on others I use MS SQL although I have
accomplished this in Classic ASP (with help from an extension) using both so
I don't think it is a DB issue.
The goal is to be able to display parapgraphs as the user has entered them
I have tried <code></code> and <pre></pre> and those did not quite work.
Thanks for any help.
Example / Goal:
I would like to have a paragraph like this.
And this.
Rather than:
I would like to have a paragraph like this. And this.