[B]#1
so i used the php str_replace(“n”, “<br>”, $source); and then fwrites it
but it doesn’t get rid of the n and when i set it equal to the javascript variable, “source”, it looks like
[code=html]var source=”text1
<br>text2
<br>”;
which results in a javascript error because it thinks its an unterminated string constant. how can i make it so I get rid of n when the page is saved.
[B]#2[B] & [B]