Using PHP, how do I access this part of an array?

answerer

New member
I want to access the "name" part of this array, but am not sure how to do it. I'm used to doing something like $array[0] but this appears to be one level deeper.

Array
(
[0] => Array
(
[name] => Martin
[gender] => male
)
)
 
Back
Top