Here's my problem, i have a php array like this:
$output = array(array(1,1,1,1),array(2,2,2,2),array(3,3,3,3));
after the array was encoded to json i got this:
$output = {"1":[1,1,1,1],"2":[2,2,2,2],"3":[3,3,3,3]}
all i want is to pass the PHP array to Javascript so that the JS looks like this:
var output = [[1,1,1,1],[2,2,2,2],[3,3,3,3,]];
Thanks in advance...