I have this code:
<?php
$jsonurl = "http://api.wipmania.com/json";
$jsonfgc = file_get_contents($jsonurl);
$json = json_decode($jsonfgc, true);
foreach ( $json["address"] as $address => $country_code )
{
echo $address["country_code"];
}
?>
However, when I print this out, I only get "cccccr". I try just echo
ing $country_code
but I get "North AmericaNA-United StatesUS-". Any help?