I went through similar questions on this issue but couldn't find a solution. I have a simple textarea in which text will be pasted or entered directly.
How do I preserve those line breaks?
Right now line breaks will just be ignored, but when I print_r($_POST)
and inspect the output in the Chrome Developer Console it still has the original text breaks.
How can I display those when showing the submitted data?
`s? – jDo Apr 22 '16 at 15:03