Skip to content

Instantly share code, notes, and snippets.

@unzeitigm
Forked from josephilipraja/countries.php
Created September 13, 2017 10:11
Show Gist options
  • Save unzeitigm/64e8defde13e429d1c5c3851ca4612bd to your computer and use it in GitHub Desktop.
Save unzeitigm/64e8defde13e429d1c5c3851ca4612bd to your computer and use it in GitHub Desktop.
List of Countries with Country code & Telephone (Dial) Code as a PHP Array. Bonus: PHP function to list all Countries as HTML Select Tag Options with their 2 character Country code as values
<?php
$countryArray = array(
'AD'=>array('name'=>'ANDORRA','code'=>'376'),
'AE'=>array('name'=>'UNITED ARAB EMIRATES','code'=>'971'),
'AF'=>array('name'=>'AFGHANISTAN','code'=>'93'),
'AG'=>array('name'=>'ANTIGUA AND BARBUDA','code'=>'1268'),
'AI'=>array('name'=>'ANGUILLA','code'=>'1264'),
'AL'=>array('name'=>'ALBANIA','code'=>'355'),
'AM'=>array('name'=>'ARMENIA','code'=>'374'),
'AN'=>array('name'=>'NETHERLANDS ANTILLES','code'=>'599'),
'AO'=>array('name'=>'ANGOLA','code'=>'244'),
'AQ'=>array('name'=>'ANTARCTICA','code'=>'672'),
'AR'=>array('name'=>'ARGENTINA','code'=>'54'),
'AS'=>array('name'=>'AMERICAN SAMOA','code'=>'1684'),
'AT'=>array('name'=>'AUSTRIA','code'=>'43'),
'AU'=>array('name'=>'AUSTRALIA','code'=>'61'),
'AW'=>array('name'=>'ARUBA','code'=>'297'),
'AZ'=>array('name'=>'AZERBAIJAN','code'=>'994'),
'BA'=>array('name'=>'BOSNIA AND HERZEGOVINA','code'=>'387'),
'BB'=>array('name'=>'BARBADOS','code'=>'1246'),
'BD'=>array('name'=>'BANGLADESH','code'=>'880'),
'BE'=>array('name'=>'BELGIUM','code'=>'32'),
'BF'=>array('name'=>'BURKINA FASO','code'=>'226'),
'BG'=>array('name'=>'BULGARIA','code'=>'359'),
'BH'=>array('name'=>'BAHRAIN','code'=>'973'),
'BI'=>array('name'=>'BURUNDI','code'=>'257'),
'BJ'=>array('name'=>'BENIN','code'=>'229'),
'BL'=>array('name'=>'SAINT BARTHELEMY','code'=>'590'),
'BM'=>array('name'=>'BERMUDA','code'=>'1441'),
'BN'=>array('name'=>'BRUNEI DARUSSALAM','code'=>'673'),
'BO'=>array('name'=>'BOLIVIA','code'=>'591'),
'BR'=>array('name'=>'BRAZIL','code'=>'55'),
'BS'=>array('name'=>'BAHAMAS','code'=>'1242'),
'BT'=>array('name'=>'BHUTAN','code'=>'975'),
'BW'=>array('name'=>'BOTSWANA','code'=>'267'),
'BY'=>array('name'=>'BELARUS','code'=>'375'),
'BZ'=>array('name'=>'BELIZE','code'=>'501'),
'CA'=>array('name'=>'CANADA','code'=>'1'),
'CC'=>array('name'=>'COCOS (KEELING) ISLANDS','code'=>'61'),
'CD'=>array('name'=>'CONGO, THE DEMOCRATIC REPUBLIC OF THE','code'=>'243'),
'CF'=>array('name'=>'CENTRAL AFRICAN REPUBLIC','code'=>'236'),
'CG'=>array('name'=>'CONGO','code'=>'242'),
'CH'=>array('name'=>'SWITZERLAND','code'=>'41'),
'CI'=>array('name'=>'COTE D IVOIRE','code'=>'225'),
'CK'=>array('name'=>'COOK ISLANDS','code'=>'682'),
'CL'=>array('name'=>'CHILE','code'=>'56'),
'CM'=>array('name'=>'CAMEROON','code'=>'237'),
'CN'=>array('name'=>'CHINA','code'=>'86'),
'CO'=>array('name'=>'COLOMBIA','code'=>'57'),
'CR'=>array('name'=>'COSTA RICA','code'=>'506'),
'CU'=>array('name'=>'CUBA','code'=>'53'),
'CV'=>array('name'=>'CAPE VERDE','code'=>'238'),
'CX'=>array('name'=>'CHRISTMAS ISLAND','code'=>'61'),
'CY'=>array('name'=>'CYPRUS','code'=>'357'),
'CZ'=>array('name'=>'CZECH REPUBLIC','code'=>'420'),
'DE'=>array('name'=>'GERMANY','code'=>'49'),
'DJ'=>array('name'=>'DJIBOUTI','code'=>'253'),
'DK'=>array('name'=>'DENMARK','code'=>'45'),
'DM'=>array('name'=>'DOMINICA','code'=>'1767'),
'DO'=>array('name'=>'DOMINICAN REPUBLIC','code'=>'1809'),
'DZ'=>array('name'=>'ALGERIA','code'=>'213'),
'EC'=>array('name'=>'ECUADOR','code'=>'593'),
'EE'=>array('name'=>'ESTONIA','code'=>'372'),
'EG'=>array('name'=>'EGYPT','code'=>'20'),
'ER'=>array('name'=>'ERITREA','code'=>'291'),
'ES'=>array('name'=>'SPAIN','code'=>'34'),
'ET'=>array('name'=>'ETHIOPIA','code'=>'251'),
'FI'=>array('name'=>'FINLAND','code'=>'358'),
'FJ'=>array('name'=>'FIJI','code'=>'679'),
'FK'=>array('name'=>'FALKLAND ISLANDS (MALVINAS)','code'=>'500'),
'FM'=>array('name'=>'MICRONESIA, FEDERATED STATES OF','code'=>'691'),
'FO'=>array('name'=>'FAROE ISLANDS','code'=>'298'),
'FR'=>array('name'=>'FRANCE','code'=>'33'),
'GA'=>array('name'=>'GABON','code'=>'241'),
'GB'=>array('name'=>'UNITED KINGDOM','code'=>'44'),
'GD'=>array('name'=>'GRENADA','code'=>'1473'),
'GE'=>array('name'=>'GEORGIA','code'=>'995'),
'GH'=>array('name'=>'GHANA','code'=>'233'),
'GI'=>array('name'=>'GIBRALTAR','code'=>'350'),
'GL'=>array('name'=>'GREENLAND','code'=>'299'),
'GM'=>array('name'=>'GAMBIA','code'=>'220'),
'GN'=>array('name'=>'GUINEA','code'=>'224'),
'GQ'=>array('name'=>'EQUATORIAL GUINEA','code'=>'240'),
'GR'=>array('name'=>'GREECE','code'=>'30'),
'GT'=>array('name'=>'GUATEMALA','code'=>'502'),
'GU'=>array('name'=>'GUAM','code'=>'1671'),
'GW'=>array('name'=>'GUINEA-BISSAU','code'=>'245'),
'GY'=>array('name'=>'GUYANA','code'=>'592'),
'HK'=>array('name'=>'HONG KONG','code'=>'852'),
'HN'=>array('name'=>'HONDURAS','code'=>'504'),
'HR'=>array('name'=>'CROATIA','code'=>'385'),
'HT'=>array('name'=>'HAITI','code'=>'509'),
'HU'=>array('name'=>'HUNGARY','code'=>'36'),
'ID'=>array('name'=>'INDONESIA','code'=>'62'),
'IE'=>array('name'=>'IRELAND','code'=>'353'),
'IL'=>array('name'=>'ISRAEL','code'=>'972'),
'IM'=>array('name'=>'ISLE OF MAN','code'=>'44'),
'IN'=>array('name'=>'INDIA','code'=>'91'),
'IQ'=>array('name'=>'IRAQ','code'=>'964'),
'IR'=>array('name'=>'IRAN, ISLAMIC REPUBLIC OF','code'=>'98'),
'IS'=>array('name'=>'ICELAND','code'=>'354'),
'IT'=>array('name'=>'ITALY','code'=>'39'),
'JM'=>array('name'=>'JAMAICA','code'=>'1876'),
'JO'=>array('name'=>'JORDAN','code'=>'962'),
'JP'=>array('name'=>'JAPAN','code'=>'81'),
'KE'=>array('name'=>'KENYA','code'=>'254'),
'KG'=>array('name'=>'KYRGYZSTAN','code'=>'996'),
'KH'=>array('name'=>'CAMBODIA','code'=>'855'),
'KI'=>array('name'=>'KIRIBATI','code'=>'686'),
'KM'=>array('name'=>'COMOROS','code'=>'269'),
'KN'=>array('name'=>'SAINT KITTS AND NEVIS','code'=>'1869'),
'KP'=>array('name'=>'KOREA DEMOCRATIC PEOPLES REPUBLIC OF','code'=>'850'),
'KR'=>array('name'=>'KOREA REPUBLIC OF','code'=>'82'),
'KW'=>array('name'=>'KUWAIT','code'=>'965'),
'KY'=>array('name'=>'CAYMAN ISLANDS','code'=>'1345'),
'KZ'=>array('name'=>'KAZAKSTAN','code'=>'7'),
'LA'=>array('name'=>'LAO PEOPLES DEMOCRATIC REPUBLIC','code'=>'856'),
'LB'=>array('name'=>'LEBANON','code'=>'961'),
'LC'=>array('name'=>'SAINT LUCIA','code'=>'1758'),
'LI'=>array('name'=>'LIECHTENSTEIN','code'=>'423'),
'LK'=>array('name'=>'SRI LANKA','code'=>'94'),
'LR'=>array('name'=>'LIBERIA','code'=>'231'),
'LS'=>array('name'=>'LESOTHO','code'=>'266'),
'LT'=>array('name'=>'LITHUANIA','code'=>'370'),
'LU'=>array('name'=>'LUXEMBOURG','code'=>'352'),
'LV'=>array('name'=>'LATVIA','code'=>'371'),
'LY'=>array('name'=>'LIBYAN ARAB JAMAHIRIYA','code'=>'218'),
'MA'=>array('name'=>'MOROCCO','code'=>'212'),
'MC'=>array('name'=>'MONACO','code'=>'377'),
'MD'=>array('name'=>'MOLDOVA, REPUBLIC OF','code'=>'373'),
'ME'=>array('name'=>'MONTENEGRO','code'=>'382'),
'MF'=>array('name'=>'SAINT MARTIN','code'=>'1599'),
'MG'=>array('name'=>'MADAGASCAR','code'=>'261'),
'MH'=>array('name'=>'MARSHALL ISLANDS','code'=>'692'),
'MK'=>array('name'=>'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF','code'=>'389'),
'ML'=>array('name'=>'MALI','code'=>'223'),
'MM'=>array('name'=>'MYANMAR','code'=>'95'),
'MN'=>array('name'=>'MONGOLIA','code'=>'976'),
'MO'=>array('name'=>'MACAU','code'=>'853'),
'MP'=>array('name'=>'NORTHERN MARIANA ISLANDS','code'=>'1670'),
'MR'=>array('name'=>'MAURITANIA','code'=>'222'),
'MS'=>array('name'=>'MONTSERRAT','code'=>'1664'),
'MT'=>array('name'=>'MALTA','code'=>'356'),
'MU'=>array('name'=>'MAURITIUS','code'=>'230'),
'MV'=>array('name'=>'MALDIVES','code'=>'960'),
'MW'=>array('name'=>'MALAWI','code'=>'265'),
'MX'=>array('name'=>'MEXICO','code'=>'52'),
'MY'=>array('name'=>'MALAYSIA','code'=>'60'),
'MZ'=>array('name'=>'MOZAMBIQUE','code'=>'258'),
'NA'=>array('name'=>'NAMIBIA','code'=>'264'),
'NC'=>array('name'=>'NEW CALEDONIA','code'=>'687'),
'NE'=>array('name'=>'NIGER','code'=>'227'),
'NG'=>array('name'=>'NIGERIA','code'=>'234'),
'NI'=>array('name'=>'NICARAGUA','code'=>'505'),
'NL'=>array('name'=>'NETHERLANDS','code'=>'31'),
'NO'=>array('name'=>'NORWAY','code'=>'47'),
'NP'=>array('name'=>'NEPAL','code'=>'977'),
'NR'=>array('name'=>'NAURU','code'=>'674'),
'NU'=>array('name'=>'NIUE','code'=>'683'),
'NZ'=>array('name'=>'NEW ZEALAND','code'=>'64'),
'OM'=>array('name'=>'OMAN','code'=>'968'),
'PA'=>array('name'=>'PANAMA','code'=>'507'),
'PE'=>array('name'=>'PERU','code'=>'51'),
'PF'=>array('name'=>'FRENCH POLYNESIA','code'=>'689'),
'PG'=>array('name'=>'PAPUA NEW GUINEA','code'=>'675'),
'PH'=>array('name'=>'PHILIPPINES','code'=>'63'),
'PK'=>array('name'=>'PAKISTAN','code'=>'92'),
'PL'=>array('name'=>'POLAND','code'=>'48'),
'PM'=>array('name'=>'SAINT PIERRE AND MIQUELON','code'=>'508'),
'PN'=>array('name'=>'PITCAIRN','code'=>'870'),
'PR'=>array('name'=>'PUERTO RICO','code'=>'1'),
'PT'=>array('name'=>'PORTUGAL','code'=>'351'),
'PW'=>array('name'=>'PALAU','code'=>'680'),
'PY'=>array('name'=>'PARAGUAY','code'=>'595'),
'QA'=>array('name'=>'QATAR','code'=>'974'),
'RO'=>array('name'=>'ROMANIA','code'=>'40'),
'RS'=>array('name'=>'SERBIA','code'=>'381'),
'RU'=>array('name'=>'RUSSIAN FEDERATION','code'=>'7'),
'RW'=>array('name'=>'RWANDA','code'=>'250'),
'SA'=>array('name'=>'SAUDI ARABIA','code'=>'966'),
'SB'=>array('name'=>'SOLOMON ISLANDS','code'=>'677'),
'SC'=>array('name'=>'SEYCHELLES','code'=>'248'),
'SD'=>array('name'=>'SUDAN','code'=>'249'),
'SE'=>array('name'=>'SWEDEN','code'=>'46'),
'SG'=>array('name'=>'SINGAPORE','code'=>'65'),
'SH'=>array('name'=>'SAINT HELENA','code'=>'290'),
'SI'=>array('name'=>'SLOVENIA','code'=>'386'),
'SK'=>array('name'=>'SLOVAKIA','code'=>'421'),
'SL'=>array('name'=>'SIERRA LEONE','code'=>'232'),
'SM'=>array('name'=>'SAN MARINO','code'=>'378'),
'SN'=>array('name'=>'SENEGAL','code'=>'221'),
'SO'=>array('name'=>'SOMALIA','code'=>'252'),
'SR'=>array('name'=>'SURINAME','code'=>'597'),
'ST'=>array('name'=>'SAO TOME AND PRINCIPE','code'=>'239'),
'SV'=>array('name'=>'EL SALVADOR','code'=>'503'),
'SY'=>array('name'=>'SYRIAN ARAB REPUBLIC','code'=>'963'),
'SZ'=>array('name'=>'SWAZILAND','code'=>'268'),
'TC'=>array('name'=>'TURKS AND CAICOS ISLANDS','code'=>'1649'),
'TD'=>array('name'=>'CHAD','code'=>'235'),
'TG'=>array('name'=>'TOGO','code'=>'228'),
'TH'=>array('name'=>'THAILAND','code'=>'66'),
'TJ'=>array('name'=>'TAJIKISTAN','code'=>'992'),
'TK'=>array('name'=>'TOKELAU','code'=>'690'),
'TL'=>array('name'=>'TIMOR-LESTE','code'=>'670'),
'TM'=>array('name'=>'TURKMENISTAN','code'=>'993'),
'TN'=>array('name'=>'TUNISIA','code'=>'216'),
'TO'=>array('name'=>'TONGA','code'=>'676'),
'TR'=>array('name'=>'TURKEY','code'=>'90'),
'TT'=>array('name'=>'TRINIDAD AND TOBAGO','code'=>'1868'),
'TV'=>array('name'=>'TUVALU','code'=>'688'),
'TW'=>array('name'=>'TAIWAN, PROVINCE OF CHINA','code'=>'886'),
'TZ'=>array('name'=>'TANZANIA, UNITED REPUBLIC OF','code'=>'255'),
'UA'=>array('name'=>'UKRAINE','code'=>'380'),
'UG'=>array('name'=>'UGANDA','code'=>'256'),
'US'=>array('name'=>'UNITED STATES','code'=>'1'),
'UY'=>array('name'=>'URUGUAY','code'=>'598'),
'UZ'=>array('name'=>'UZBEKISTAN','code'=>'998'),
'VA'=>array('name'=>'HOLY SEE (VATICAN CITY STATE)','code'=>'39'),
'VC'=>array('name'=>'SAINT VINCENT AND THE GRENADINES','code'=>'1784'),
'VE'=>array('name'=>'VENEZUELA','code'=>'58'),
'VG'=>array('name'=>'VIRGIN ISLANDS, BRITISH','code'=>'1284'),
'VI'=>array('name'=>'VIRGIN ISLANDS, U.S.','code'=>'1340'),
'VN'=>array('name'=>'VIET NAM','code'=>'84'),
'VU'=>array('name'=>'VANUATU','code'=>'678'),
'WF'=>array('name'=>'WALLIS AND FUTUNA','code'=>'681'),
'WS'=>array('name'=>'SAMOA','code'=>'685'),
'XK'=>array('name'=>'KOSOVO','code'=>'381'),
'YE'=>array('name'=>'YEMEN','code'=>'967'),
'YT'=>array('name'=>'MAYOTTE','code'=>'262'),
'ZA'=>array('name'=>'SOUTH AFRICA','code'=>'27'),
'ZM'=>array('name'=>'ZAMBIA','code'=>'260'),
'ZW'=>array('name'=>'ZIMBABWE','code'=>'263')
);
/*
* Country Array to HTML Select List
* Developed By: Jose Philip Raja - www.josephilipraja.com
* About Author: Creative Director of CreaveLabs IT Solutions - www.creavelabs.com
*
* Usage:
* echo countrySelector(); // Basic
* echo countrySelector("IN"); // Set default Country with its code
* echo countrySelector("IN", "my-country", "my-country", "form-control"); // With full Options
*
*/
function countrySelector($defaultCountry = "", $id = "", $name = "", $classes = ""){
global $countryArray; // Assuming the array is placed above this function
$output = "<select id='".$id."' name='".$name."' class='".$classes."'>";
foreach($countryArray as $code => $country){
$countryName = ucwords(strtolower($country["name"])); // Making it look good
$output .= "<option value='".$code."' ".(($code==strtoupper($defaultCountry))?"selected":"").">".$code." - ".$countryName." (+".$country["code"].")</option>";
}
$output .= "</select>";
return $output; // or echo $output; to print directly
}
// Examples:
echo "Basic: echo countrySelector();<br>";
echo countrySelector(); // Basic
echo "<hr>";
echo 'Set default Country with its code: echo countrySelector("IN");<br>';
echo countrySelector("IN"); // Set default Country with its code
echo "<hr>";
echo 'With full Options: echo countrySelector("IN", "my-country", "my-country", "form-control");<br>';
echo countrySelector("IN", "my-country", "my-country", "form-control"); // With full Options
?>
<select id="country" name="country">
<option value="AD">AD - Andorra (+376)</option>
<option value="AE">AE - United Arab Emirates (+971)</option>
<option value="AF">AF - Afghanistan (+93)</option>
<option value="AG">AG - Antigua And Barbuda (+1268)</option>
<option value="AI">AI - Anguilla (+1264)</option>
<option value="AL">AL - Albania (+355)</option>
<option value="AM">AM - Armenia (+374)</option>
<option value="AN">AN - Netherlands Antilles (+599)</option>
<option value="AO">AO - Angola (+244)</option>
<option value="AQ">AQ - Antarctica (+672)</option>
<option value="AR">AR - Argentina (+54)</option>
<option value="AS">AS - American Samoa (+1684)</option>
<option value="AT">AT - Austria (+43)</option>
<option value="AU">AU - Australia (+61)</option>
<option value="AW">AW - Aruba (+297)</option>
<option value="AZ">AZ - Azerbaijan (+994)</option>
<option value="BA">BA - Bosnia And Herzegovina (+387)</option>
<option value="BB">BB - Barbados (+1246)</option>
<option value="BD">BD - Bangladesh (+880)</option>
<option value="BE">BE - Belgium (+32)</option>
<option value="BF">BF - Burkina Faso (+226)</option>
<option value="BG">BG - Bulgaria (+359)</option>
<option value="BH">BH - Bahrain (+973)</option>
<option value="BI">BI - Burundi (+257)</option>
<option value="BJ">BJ - Benin (+229)</option>
<option value="BL">BL - Saint Barthelemy (+590)</option>
<option value="BM">BM - Bermuda (+1441)</option>
<option value="BN">BN - Brunei Darussalam (+673)</option>
<option value="BO">BO - Bolivia (+591)</option>
<option value="BR">BR - Brazil (+55)</option>
<option value="BS">BS - Bahamas (+1242)</option>
<option value="BT">BT - Bhutan (+975)</option>
<option value="BW">BW - Botswana (+267)</option>
<option value="BY">BY - Belarus (+375)</option>
<option value="BZ">BZ - Belize (+501)</option>
<option value="CA">CA - Canada (+1)</option>
<option value="CC">CC - Cocos (keeling) Islands (+61)</option>
<option value="CD">CD - Congo, The Democratic Republic Of The (+243)</option>
<option value="CF">CF - Central African Republic (+236)</option>
<option value="CG">CG - Congo (+242)</option>
<option value="CH">CH - Switzerland (+41)</option>
<option value="CI">CI - Cote D Ivoire (+225)</option>
<option value="CK">CK - Cook Islands (+682)</option>
<option value="CL">CL - Chile (+56)</option>
<option value="CM">CM - Cameroon (+237)</option>
<option value="CN">CN - China (+86)</option>
<option value="CO">CO - Colombia (+57)</option>
<option value="CR">CR - Costa Rica (+506)</option>
<option value="CU">CU - Cuba (+53)</option>
<option value="CV">CV - Cape Verde (+238)</option>
<option value="CX">CX - Christmas Island (+61)</option>
<option value="CY">CY - Cyprus (+357)</option>
<option value="CZ">CZ - Czech Republic (+420)</option>
<option value="DE">DE - Germany (+49)</option>
<option value="DJ">DJ - Djibouti (+253)</option>
<option value="DK">DK - Denmark (+45)</option>
<option value="DM">DM - Dominica (+1767)</option>
<option value="DO">DO - Dominican Republic (+1809)</option>
<option value="DZ">DZ - Algeria (+213)</option>
<option value="EC">EC - Ecuador (+593)</option>
<option value="EE">EE - Estonia (+372)</option>
<option value="EG">EG - Egypt (+20)</option>
<option value="ER">ER - Eritrea (+291)</option>
<option value="ES">ES - Spain (+34)</option>
<option value="ET">ET - Ethiopia (+251)</option>
<option value="FI">FI - Finland (+358)</option>
<option value="FJ">FJ - Fiji (+679)</option>
<option value="FK">FK - Falkland Islands (malvinas) (+500)</option>
<option value="FM">FM - Micronesia, Federated States Of (+691)</option>
<option value="FO">FO - Faroe Islands (+298)</option>
<option value="FR">FR - France (+33)</option>
<option value="GA">GA - Gabon (+241)</option>
<option value="GB">GB - United Kingdom (+44)</option>
<option value="GD">GD - Grenada (+1473)</option>
<option value="GE">GE - Georgia (+995)</option>
<option value="GH">GH - Ghana (+233)</option>
<option value="GI">GI - Gibraltar (+350)</option>
<option value="GL">GL - Greenland (+299)</option>
<option value="GM">GM - Gambia (+220)</option>
<option value="GN">GN - Guinea (+224)</option>
<option value="GQ">GQ - Equatorial Guinea (+240)</option>
<option value="GR">GR - Greece (+30)</option>
<option value="GT">GT - Guatemala (+502)</option>
<option value="GU">GU - Guam (+1671)</option>
<option value="GW">GW - Guinea-bissau (+245)</option>
<option value="GY">GY - Guyana (+592)</option>
<option value="HK">HK - Hong Kong (+852)</option>
<option value="HN">HN - Honduras (+504)</option>
<option value="HR">HR - Croatia (+385)</option>
<option value="HT">HT - Haiti (+509)</option>
<option value="HU">HU - Hungary (+36)</option>
<option value="ID">ID - Indonesia (+62)</option>
<option value="IE">IE - Ireland (+353)</option>
<option value="IL">IL - Israel (+972)</option>
<option value="IM">IM - Isle Of Man (+44)</option>
<option value="IN">IN - India (+91)</option>
<option value="IQ">IQ - Iraq (+964)</option>
<option value="IR">IR - Iran, Islamic Republic Of (+98)</option>
<option value="IS">IS - Iceland (+354)</option>
<option value="IT">IT - Italy (+39)</option>
<option value="JM">JM - Jamaica (+1876)</option>
<option value="JO">JO - Jordan (+962)</option>
<option value="JP">JP - Japan (+81)</option>
<option value="KE">KE - Kenya (+254)</option>
<option value="KG">KG - Kyrgyzstan (+996)</option>
<option value="KH">KH - Cambodia (+855)</option>
<option value="KI">KI - Kiribati (+686)</option>
<option value="KM">KM - Comoros (+269)</option>
<option value="KN">KN - Saint Kitts And Nevis (+1869)</option>
<option value="KP">KP - Korea Democratic Peoples Republic Of (+850)</option>
<option value="KR">KR - Korea Republic Of (+82)</option>
<option value="KW">KW - Kuwait (+965)</option>
<option value="KY">KY - Cayman Islands (+1345)</option>
<option value="KZ">KZ - Kazakstan (+7)</option>
<option value="LA">LA - Lao Peoples Democratic Republic (+856)</option>
<option value="LB">LB - Lebanon (+961)</option>
<option value="LC">LC - Saint Lucia (+1758)</option>
<option value="LI">LI - Liechtenstein (+423)</option>
<option value="LK">LK - Sri Lanka (+94)</option>
<option value="LR">LR - Liberia (+231)</option>
<option value="LS">LS - Lesotho (+266)</option>
<option value="LT">LT - Lithuania (+370)</option>
<option value="LU">LU - Luxembourg (+352)</option>
<option value="LV">LV - Latvia (+371)</option>
<option value="LY">LY - Libyan Arab Jamahiriya (+218)</option>
<option value="MA">MA - Morocco (+212)</option>
<option value="MC">MC - Monaco (+377)</option>
<option value="MD">MD - Moldova, Republic Of (+373)</option>
<option value="ME">ME - Montenegro (+382)</option>
<option value="MF">MF - Saint Martin (+1599)</option>
<option value="MG">MG - Madagascar (+261)</option>
<option value="MH">MH - Marshall Islands (+692)</option>
<option value="MK">MK - Macedonia, The Former Yugoslav Republic Of (+389)</option>
<option value="ML">ML - Mali (+223)</option>
<option value="MM">MM - Myanmar (+95)</option>
<option value="MN">MN - Mongolia (+976)</option>
<option value="MO">MO - Macau (+853)</option>
<option value="MP">MP - Northern Mariana Islands (+1670)</option>
<option value="MR">MR - Mauritania (+222)</option>
<option value="MS">MS - Montserrat (+1664)</option>
<option value="MT">MT - Malta (+356)</option>
<option value="MU">MU - Mauritius (+230)</option>
<option value="MV">MV - Maldives (+960)</option>
<option value="MW">MW - Malawi (+265)</option>
<option value="MX">MX - Mexico (+52)</option>
<option value="MY">MY - Malaysia (+60)</option>
<option value="MZ">MZ - Mozambique (+258)</option>
<option value="NA">NA - Namibia (+264)</option>
<option value="NC">NC - New Caledonia (+687)</option>
<option value="NE">NE - Niger (+227)</option>
<option value="NG">NG - Nigeria (+234)</option>
<option value="NI">NI - Nicaragua (+505)</option>
<option value="NL">NL - Netherlands (+31)</option>
<option value="NO">NO - Norway (+47)</option>
<option value="NP">NP - Nepal (+977)</option>
<option value="NR">NR - Nauru (+674)</option>
<option value="NU">NU - Niue (+683)</option>
<option value="NZ">NZ - New Zealand (+64)</option>
<option value="OM">OM - Oman (+968)</option>
<option value="PA">PA - Panama (+507)</option>
<option value="PE">PE - Peru (+51)</option>
<option value="PF">PF - French Polynesia (+689)</option>
<option value="PG">PG - Papua New Guinea (+675)</option>
<option value="PH">PH - Philippines (+63)</option>
<option value="PK">PK - Pakistan (+92)</option>
<option value="PL">PL - Poland (+48)</option>
<option value="PM">PM - Saint Pierre And Miquelon (+508)</option>
<option value="PN">PN - Pitcairn (+870)</option>
<option value="PR">PR - Puerto Rico (+1)</option>
<option value="PT">PT - Portugal (+351)</option>
<option value="PW">PW - Palau (+680)</option>
<option value="PY">PY - Paraguay (+595)</option>
<option value="QA">QA - Qatar (+974)</option>
<option value="RO">RO - Romania (+40)</option>
<option value="RS">RS - Serbia (+381)</option>
<option value="RU">RU - Russian Federation (+7)</option>
<option value="RW">RW - Rwanda (+250)</option>
<option value="SA">SA - Saudi Arabia (+966)</option>
<option value="SB">SB - Solomon Islands (+677)</option>
<option value="SC">SC - Seychelles (+248)</option>
<option value="SD">SD - Sudan (+249)</option>
<option value="SE">SE - Sweden (+46)</option>
<option value="SG">SG - Singapore (+65)</option>
<option value="SH">SH - Saint Helena (+290)</option>
<option value="SI">SI - Slovenia (+386)</option>
<option value="SK">SK - Slovakia (+421)</option>
<option value="SL">SL - Sierra Leone (+232)</option>
<option value="SM">SM - San Marino (+378)</option>
<option value="SN">SN - Senegal (+221)</option>
<option value="SO">SO - Somalia (+252)</option>
<option value="SR">SR - Suriname (+597)</option>
<option value="ST">ST - Sao Tome And Principe (+239)</option>
<option value="SV">SV - El Salvador (+503)</option>
<option value="SY">SY - Syrian Arab Republic (+963)</option>
<option value="SZ">SZ - Swaziland (+268)</option>
<option value="TC">TC - Turks And Caicos Islands (+1649)</option>
<option value="TD">TD - Chad (+235)</option>
<option value="TG">TG - Togo (+228)</option>
<option value="TH">TH - Thailand (+66)</option>
<option value="TJ">TJ - Tajikistan (+992)</option>
<option value="TK">TK - Tokelau (+690)</option>
<option value="TL">TL - Timor-leste (+670)</option>
<option value="TM">TM - Turkmenistan (+993)</option>
<option value="TN">TN - Tunisia (+216)</option>
<option value="TO">TO - Tonga (+676)</option>
<option value="TR">TR - Turkey (+90)</option>
<option value="TT">TT - Trinidad And Tobago (+1868)</option>
<option value="TV">TV - Tuvalu (+688)</option>
<option value="TW">TW - Taiwan, Province Of China (+886)</option>
<option value="TZ">TZ - Tanzania, United Republic Of (+255)</option>
<option value="UA">UA - Ukraine (+380)</option>
<option value="UG">UG - Uganda (+256)</option>
<option value="US">US - United States (+1)</option>
<option value="UY">UY - Uruguay (+598)</option>
<option value="UZ">UZ - Uzbekistan (+998)</option>
<option value="VA">VA - Holy See (vatican City State) (+39)</option>
<option value="VC">VC - Saint Vincent And The Grenadines (+1784)</option>
<option value="VE">VE - Venezuela (+58)</option>
<option value="VG">VG - Virgin Islands, British (+1284)</option>
<option value="VI">VI - Virgin Islands, U.s. (+1340)</option>
<option value="VN">VN - Viet Nam (+84)</option>
<option value="VU">VU - Vanuatu (+678)</option>
<option value="WF">WF - Wallis And Futuna (+681)</option>
<option value="WS">WS - Samoa (+685)</option>
<option value="XK">XK - Kosovo (+381)</option>
<option value="YE">YE - Yemen (+967)</option>
<option value="YT">YT - Mayotte (+262)</option>
<option value="ZA">ZA - South Africa (+27)</option>
<option value="ZM">ZM - Zambia (+260)</option>
<option value="ZW">ZW - Zimbabwe (+263)</option>
</select>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment