Menu
Hi,
I’m trying to write a bit of javascript using php, but I can’t get it to go onto a new line,
if I enter
echo ‘<script type=”text/javascript”> n’ ;
echo ‘$(document).ready(function() {‘;
when I view the page source both lines above appear on the same line, I’ve tried using single and double quotes but when I use double quotes the page doesn’t load at all,
Any help would be appreciated.
Cheers
Tim