Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > General Computer Discussion > Software > Adding line break to HTML textarea

Thread Tools

Adding line break to HTML textarea

probodha probodha is offline
Junior Member
Join Date: Sep 2011
Posts: 1

Im doing a web site and i let the user comment on my web site using a textarea.
I use mysql database to store the user feedback.
when it is saved, all the line breaks will be replaced with 'rn' characters.
so when retreiving it will not diplay the line breaks rather it would display the 'rn' characters.

i have found one solution, but it is not reliable..

I need to know a better way to display the comment with proper line breaks.

thanks in advance.
Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add </textarea> within <textarea> tags? Javascript 1 07-04-2007 04:00 PM
Textarea Inside of a textarea ASP General 6 02-05-2006 08:00 AM
How to determine line break in textarea? Perfect Reign Java 16 04-30-2005 10:24 AM
Adding a line break to a Panel-Object Thomas Reichgruber ASP .Net 1 01-31-2004 06:13 PM
Removing carriage returns from <textarea></textarea> input Augustus ASP General 1 09-10-2003 04:55 AM