I want to populate a text field with a php string containing HTML (I want to view the HTML)
so i set $news = "some html code"
then
<t extarea name="news" cols="60" rows="20"><?=$news?></t extarea>
without the spaces
Ok but i want to view <b r> as a new line so as its not one big line in the text field so i tried
$news="html with \n after each <b r>";
but it just prints out the \n as is
Question how do i get a newline in a text field?