can someone help me to echo [city] value and [country] value from following array:
<?php
Array
(
[0] => Array
(
[uid] => 123456789
[name] => First Last Name
[current_location] => Array
(
[city] => New York
[state] => New York
[country] => United States
[zip] =>
[id] => 123456789
[name] => New York, New York
)
[profile_url] => http://www.facebook.com/username
)
)
?>
thanks.
You have a multidimensional array. You want to try this: