How do you create a new line in a textarea when inserting the text via php?
I thought it was \\n but that gets literally printed in the textarea.
\\n
What Alay Geleynse said was right, I had the same problem as you and the issue was due to the escape characters (\r, \n) was there. To 'unescaped' the variable I used $var = stripcslashes($var) and it's shown correctly
$var = stripcslashes($var)