Can't see new lines on textarea - what could the problem be?

topamillion

New Member
I have a php string with a lot of information to be displayed inside a textarea html element.I don't have access to that textarea nor to the script (if any) that generates it.\[code\]$somestring = 'first line \nSecond line \nThird line.';\[/code\]$somestring as NOT been "worked" with trim or filter_var. Nothing. On the textfield, I get the \n printed on the textarea hence, not interpreted. What can I try in order to have those new lines applied?Thanks in advance.
 
Back
Top