Hi,
How can we show text as formated onto a web page.
Say the text comes from a Database or you create a few paragrahs in a variable. Now you want to display this on the page as formated. But when I output it, all hard returns, etc. have been removed.
What can I use?
I tried <pre></pre> but this makes the text run off the page cause like in a Word document, it would auto wrap, not with <pre>.
Any ideas?
How can we show text as formated onto a web page.
Say the text comes from a Database or you create a few paragrahs in a variable. Now you want to display this on the page as formated. But when I output it, all hard returns, etc. have been removed.
What can I use?
I tried <pre></pre> but this makes the text run off the page cause like in a Word document, it would auto wrap, not with <pre>.
Any ideas?

Comment