Have array like this:
Array
(
[0] => Array
(
[Slot_id] => 7048,
[name] => value
)
[1] => Array
(
[Slot_id] => 7049,
[name] => value
)
)
I want to get the below array form
Slot_id => Array
(
[0] => 7048,
[1] => 7049
)
currently i am using foreach
function, any other best method?