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

[eluser]Prophet[/eluser]
If you are using double quotes in the echo, PHP will just throw out a line break. Use single quotes and it will print '\n'. You could also try using the HTML character code for \

Try:
echo '\n'; - NOT echo "\n";

Or:
echo '& #92 ;n';


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