• Resolved divis0r

    (@divis0r)


    Good afternoon. I decided to test your plugin and noticed that your list is missing countries:
    The country code for Curaçao is “CW”;
    The country code for Alderney is “GG”;
    Maybe some others, but I couldn’t find those two in your database.

    $country_code = 'cw'; 
    $country = acfe_get_country($country_code);
    
    if ($country) {
    
        echo "Country Code: {$country['code']}<br>";
        echo "Country Name: {$country['name']}<br>";
        echo "Capital: {$country['capital']}<br>";
        echo "Continent: {$country['continent']}<br>";
        echo "Coordinates (Lat/Lng): {$country['coords']['lat']}, {$country['coords']['lng']}<br>";
        echo "Languages: " . implode(', ', $country['languages']) . "<br>";
        echo "Currencies: " . implode(', ', $country['currencies']) . "<br>";
    } else {
        echo "Error: Country with code '{$country_code}' not found or an error occurred.";
    }
    

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘ACFE Countries (not a full sheet)’ is closed to new replies.