I've been unable to find an elegant solution to what is a simple problem.
Basically an API call I'm making is outputting one empty array before my main set of data. What would be the fastest way of removing this from the data set?
Array structure...
$example = Array (
) Array (
[aaa] => Array (
[aa] => aa
[aa] => aa
[aa] => aa
[aa] => aa
)
Therefore the first array() needs to be removed to be:
$fixed = Array (
[aaa] => Array (
[aa] => aa
[aa] => aa
[aa] => aa
[aa] => aa
)
Thanks, Phil