I have an array:
array(
array('w' => '100', 'h'=>'100'),
array('w' => '200', 'h'=>'200'),
array('w' => '300', 'h'=>'300')
)
I ned to create a string from this array that looks like:
[100, 100], [200, 200], [300, 300]
I've looked at:
array_values()
I use it by looping through each array to remove the key, but what would be the best way to make the entire string, with square brackets?
[...], it's perfectly fine JSON.[]