How can I extract values out of this array?

Posted by Jagira on Stack Overflow See other posts from Stack Overflow or by Jagira
Published on 2010-03-08T14:26:59Z Indexed on 2010/03/08 14:36 UTC
Read the original article Hit count: 260

Filed under:
|
Array ( [status] => success 
        [abc] => Array ( 
              [0] => Array ( [name] => John Doe 
                             [age] => 23)
              [1] => Array ( [name] => John Doe_1
                             [age] => 23)
              [2] => Array ( [name] => John Doe_2
                             [age] => 23)
       )
)    

When I try

foreach($stories as $story){ }

It returns an error.

© Stack Overflow or respective owner

Related posts about multidimensional-array

Related posts about php