<?php

$countries = [
    "US" => ["name"=>"United States","currency"=>"USD","flag"=>"🇺🇸"],
    "ZA" => ["name"=>"South Africa","currency"=>"ZAR","flag"=>"🇿🇦"],
    "NG" => ["name"=>"Nigeria","currency"=>"NGN","flag"=>"🇳🇬"],
    "GB" => ["name"=>"United Kingdom","currency"=>"GBP","flag"=>"🇬🇧"],
    "IN" => ["name"=>"India","currency"=>"INR","flag"=>"🇮🇳"],
    "PK" => ["name"=>"Pakistan","currency"=>"PKR","flag"=>"🇵🇰"],
    "CN" => ["name"=>"China","currency"=>"CNY","flag"=>"🇨🇳"],
    "JP" => ["name"=>"Japan","currency"=>"JPY","flag"=>"🇯🇵"],
    "AE" => ["name"=>"UAE","currency"=>"AED","flag"=>"🇦🇪"],
    "SA" => ["name"=>"Saudi Arabia","currency"=>"SAR","flag"=>"🇸🇦"],
    "CA" => ["name"=>"Canada","currency"=>"CAD","flag"=>"🇨🇦"],
    "AU" => ["name"=>"Australia","currency"=>"AUD","flag"=>"🇦🇺"],
    "BR" => ["name"=>"Brazil","currency"=>"BRL","flag"=>"🇧🇷"],
    "MX" => ["name"=>"Mexico","currency"=>"MXN","flag"=>"🇲🇽"],
    "KE" => ["name"=>"Kenya","currency"=>"KES","flag"=>"🇰🇪"],
    "GH" => ["name"=>"Ghana","currency"=>"GHS","flag"=>"🇬🇭"],
    "EG" => ["name"=>"Egypt","currency"=>"EGP","flag"=>"🇪🇬"],
    "EU" => ["name"=>"Europe","currency"=>"EUR","flag"=>"🇪🇺"]
];

// 👉 You can expand this to ALL countries easily later