I am a bit confused here on how I implement an array into JS from PHP....
I\'m doing this for testing - eventually I\'ll use long polling or websockets if they get h
Not sure why you need to wrap the json string in an Array, you could just do
var data = ;
--
To get the value of data in your js, you can either do data.x or data["x"]