[ad_1]
Since you tagged cakephp, Cake offers the Hash class which can do this for you.
$newArray = Hash::extract($viewable_collection_ids, '{n}.collection_id');
[ad_2]
solved PHP Converting an Array [closed]
[ad_1]
Since you tagged cakephp, Cake offers the Hash class which can do this for you.
$newArray = Hash::extract($viewable_collection_ids, '{n}.collection_id');
[ad_2]
solved PHP Converting an Array [closed]