Adding line break to HTML textarea
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.. :sheep
I need to know a better way to display the comment with proper line breaks.
thanks in advance.
|All times are GMT. The time now is 12:59 PM.|
Powered by vBulletin®. Copyright ©2000 - 2014, vBulletin Solutions, Inc.
SEO by vBSEO ©2010, Crawlability, Inc.