var storyLinks = new Array( "<?php global $lastThree; echo($lastThree); ?>",
"<?php global $lastThree; echo($lastThree); ?>",
"<?php global $lastThree; echo($lastThree); ?>");
Produces the following:
var storyLinks = new Array( "
I also get a very similar result if I use a single PHP echo() statement, echo()-ing the quotes and commas as well.
Does anyone know a solution to this, please?
PS - phpinfo() tells me that I'm using PHP 4.4.4 on Apache 1.3.33 (if that makes a difference).