Why is there a newline after PHP parsing?
PHP Code
Public function JavaScript () { ?>
This code after parsing, as long as the PHP part of the change line
HTML Code
var cr = new Array (); Name = "2001"; Cr[name] = new Array (); cr[name]["code"] = ' 2001 '; Name = "2002"; Cr[name] = new Array (); cr[name]["code"] = ' 2002 '; Name = "2003"; Cr[name] = new Array (); cr[name]["code"] = ' 2003 '; Name = "2004"; Cr[name] = new Array (); cr[name]["code"] = ' 2004 '; Name = "2005"; Cr[name] = new Array (); cr[name]["code"] = ' 2005 '; Name = "2006"; Cr[name] = new Array (); Cr[name]["code"] = ' 2006 '; Name = "2007"; Cr[name] = new Array (); cr[name]["code"] = ' 2007 '; Name = "2008"; Cr[name] = new Array (); cr[name]["code"] = ' 2008 '; return CR;
What is the situation, I on the local machine is not so, in the virtual machine on the present so, which is a big doubt!!!
------Solution--------------------
Give it a try
------Solution--------------------
That's because you have line breaks in your original data.