How to get array of values from an associative arrays?
Posted
by Rachel
on Stack Overflow
See other posts from Stack Overflow
or by Rachel
Published on 2010-03-18T22:41:20Z
Indexed on
2010/03/18
22:51 UTC
Read the original article
Hit count: 225
php
How can I get an array of values from an associative array ?
Associate array Example:
Array
(
[0] => Array
(
[0] => 1
[1] => 2
[2] => 3
)
[1] => Array
(
[0] => 4
[1] => 5
[2] => 6
)
[2] => Array
(
[0] => 7
)
)
Desired Output
Array
(1,2,3,4,5,6,7)
© Stack Overflow or respective owner