By: jaji
Date: 2008-08-09
Time: 20:00
|
new line and textarea
Hello, I have big problem with showing text that contains more lines in textarea - it shows always <br /> tag and I do not want to show any tags in textarea, only new line.
$text="This is line 1 \n This is line 2";
<textarea>
[var.text]
</textarea>
In textarea is :
This is line 1 <br />
This is line 2
And I would like to reach
This is line 1
This is line 2
Can anybody help me please?
Jakub
|