I have a big array from which I need a specific chunk extracted into a new empty array ?
How do i achieve that ?
-- big mango
-- small mango
-- green mango
how to get mangoes out of fruits array into a new empty array so I am left with mangoes only ?
The simplest way would be to do this:
$mangoes = $fruits['mangoes'];
Did'nt reliase it was so easy to that. Works great.
This topic is now closed. New replies are no longer allowed.