Click to See Complete Forum and Search --> : text box formatting


dmelosi
07-21-2004, 11:56 AM
Hi,
I have created a website with a function that allows some users to add news items to different pages within the site. The users would like to copy from a word or notepad document and past in the text box to submit. Any ideas on saving the appearance formatting?
Thanks,
Dave

Jick
07-21-2004, 02:03 PM
You mean like keeping carriage returns in a message like this:hello
this
is
a
multi-line
messageThis can be accomplished with PHP if you have support for it on your server. Use the nl2br function. I'm not sure about other languages. If this is what you mean then this thread is better for one of the language forums such as the PHP forum.

This forum is for getting your site reviewed by other members of the board. ;)