Welcome Guest, Not a member yet? Register   Sign In
Line breaks in javascript
#4

[eluser]richzilla[/eluser]
Got it, Thanks for the help.

I used:
Code:
preg_replace("/\n/", '\n', $string);

and it seemed to do the trick.


Messages In This Thread
Line breaks in javascript - by El Forum - 04-15-2010, 03:30 AM
Line breaks in javascript - by El Forum - 04-15-2010, 03:34 AM
Line breaks in javascript - by El Forum - 04-15-2010, 03:35 AM
Line breaks in javascript - by El Forum - 04-15-2010, 03:42 AM
Line breaks in javascript - by El Forum - 04-15-2010, 03:50 AM



Theme © iAndrew 2016 - Forum software by © MyBB