Jump to content

echo value from array


phpcharlie

Recommended Posts

I'm a complete noob at php, can someone tell me how to echo out the value of the "bar" field?

 

Here is the array as shown when outputted with print_r..

 

 

Array

(

    [0] => Address_Event Object

        (

            [variables] => Array

                (

                    [foo] => 0

                    [bar] => 1

                    [baz] => 1

                )

 

        )

 

)

 

 

Thanks guys

Link to comment
https://forums.phpfreaks.com/topic/207956-echo-value-from-array/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.