Create an array of inner array values with array function in PHP

Posted by Jusnit on Stack Overflow See other posts from Stack Overflow or by Jusnit
Published on 2012-03-30T05:26:25Z Indexed on 2012/03/30 5:29 UTC
Read the original article Hit count: 344

Filed under:
|

How to create an array of inner array values with array function ?

Here is array

Array
(
    [0] => Array
    (
        [Detail] => Array
        (
            [detail_id] => 1
        )

    )

    [1] => Array
    (
        [Detail] => Array
        (
            [detail_id] => 4
        )

    )

)

I want create an array with detail_id of above array i.e array(1,4).

Is it done any array function in PHP ?

© Stack Overflow or respective owner

Related posts about php

Related posts about php5