SyntaxFix
Write A Post
Hire A Developer
Questions
Got my own answer: Using this function from the data from the textarea solves the problem:
function mynl2br($text) { return strtr($text, array("\r\n" => '<br />', "\r" => '<br />', "\n" => '<br />')); }
More here: http://php.net/nl2br