PHP Array to JSON Array using json_encode();
I've encoded an Array I've made using the inbuilt json_encode(); function. I need it in the format of an Array of Arrays like so:
[["Afghanistan",32,12],["Albania",32,12]]
However, it is returning as:
["2":["Afghanistan",32,12],"4":["Albania",32,...