Hope you can help me on this one. I have this php array variable.
$countries = [
"Argentina" => ['Buenos Aires','Cordoba','Rosario'],
"USA" => ['San Fransisco','Dallas','Nueva Yotk'],
"Brasil" => ['Rio','San Pablo','Salvador']
and I want to print, for example: Argentina, Córdoba or USA, Nueva York, etc. I mean, select one element of one of the subarrays. How can I accomplish that? I've tried
print_r(array_values($countries));
it prints ALL values, but I want to print a specific value of the key/s
Thanks!