Skip to content

Instantly share code, notes, and snippets.

@zainaali
Created October 15, 2018 10:23
Show Gist options
  • Save zainaali/ce0fc931bc65190eb8bbbf2424c2c51e to your computer and use it in GitHub Desktop.
Save zainaali/ce0fc931bc65190eb8bbbf2424c2c51e to your computer and use it in GitHub Desktop.
Country chosen automatically according to the IP of the customer.
<?php
if (!empty($_SERVER['HTTP_CLIENT_IP'])) {
$ip = $_SERVER['HTTP_CLIENT_IP'];}
elseif (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) {
$ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
} else {
$ip = $_SERVER['REMOTE_ADDR'];
}
$url = "http://api.wipmania.com/".$ip;
$country = file_get_contents($url);
?>
<select name="country" id="form-field-9c2854e" class="elementor-field-textual elementor-size-sm" required="required" aria-required="true">
<option country-code="AF" value="af" <?php if($country =='AF') {;?> selected <?php }?>>Afghanistan</option>
<option country-code="AL"value="al" <?php if($country =='AL') {;?> selected <?php }?>>Albania</option>
<option country-code="DZ" value="dz" <?php if($country =='DZ') {;?> selected <?php }?>>Algeria</option>
<option country-code="AD" value="ad" <?php if($country =='AD') {;?> selected <?php }?>>Andorra</option>
<option country-code="AO" value="ao" <?php if($country =='AO') {;?> selected <?php }?>>Angola</option>
<option country-code="AI" value="ai" <?php if($country =='AI') {;?> selected <?php }?>>Anguilla</option>
<option country-code="AQ" value="aq" <?php if($country =='AQ') {;?> selected <?php }?>>Antarctica</option>
<option country-code="AG" value="ag" <?php if($country =='AG') {;?> selected <?php }?>>Antigua and Barbuda</option>
<option country-code="AR" value="ar" <?php if($country =='AR') {;?> selected <?php }?>>Argentina</option>
<option country-code="AM" value="arm" <?php if($country =='AM') {;?> selected <?php }?>>Armenia</option>
<option country-code="AW" value="aw" <?php if($country =='AW') {;?> selected <?php }?>>Aruba</option>
<option country-code="AU" value="au" <?php if($country =='AU') {;?> selected <?php }?>>Australia</option>
<option country-code="AT" value="at" <?php if($country =='AT') {;?> selected <?php }?>>Austria</option>
<option country-code="AZ" value="az" <?php if($country =='AZ') {;?> selected <?php }?>>Azerbaijan</option>
<option country-code="BS" value="bs" <?php if($country =='BS') {;?> selected <?php }?>>Bahamas</option>
<option country-code="BH" value="bh" <?php if($country =='BH') {;?> selected <?php }?>>Bahrain</option>
<option country-code="BD" value="bd" <?php if($country =='BD') {;?> selected <?php }?>>Bangladesh</option>
<option country-code="BB" value="bb" <?php if($country =='BB') {;?> selected <?php }?>>Barbados</option>
<option country-code="BY" value="by" <?php if($country =='BY') {;?> selected <?php }?>>Belarus</option>
<option country-code="BE" value="be" <?php if($country =='BE') {;?> selected <?php }?>>Belgium</option>
<option country-code="BZ" value="bz" <?php if($country =='BZ') {;?> selected <?php }?>>Belize</option>
<option country-code="BJ" value="bj" <?php if($country =='BJ') {;?> selected <?php }?>>Benin</option>
<option country-code="BM" value="bm" <?php if($country =='BM') {;?> selected <?php }?>>Bermuda</option>
<option country-code="BT" value="bt" <?php if($country =='BT') {;?> selected <?php }?>>Bhutan</option>
<option country-code="BO" value="bo" <?php if($country =='BO') {;?> selected <?php }?>>Bolivia</option>
<option country-code="BA" value="ba" <?php if($country =='BA') {;?> selected <?php }?>>Bosnia and Herzegovina</option>
<option country-code="BW" value="bw" <?php if($country =='BW') {;?> selected <?php }?>>Botswana</option>
<option country-code="BV" value="bv" <?php if($country =='BV') {;?> selected <?php }?>>Bouvet Island</option>
<option country-code="BR" value="br" <?php if($country =='BR') {;?> selected <?php }?>>Brazil</option>
<option country-code="IO" value="io" <?php if($country =='IO') {;?> selected <?php }?>>British Indian Ocean Territory</option>
<option country-code="BN" value="bn" <?php if($country =='BN') {;?> selected <?php }?>>Brunei Darussalam</option>
<option country-code="BG" value="bul" <?php if($country =='BG') {;?> selected <?php }?>>Bulgaria</option>
<option country-code="BF" value="bf" <?php if($country =='BF') {;?> selected <?php }?>>Burkina Faso</option>
<option country-code="BI" value="bi" <?php if($country =='BI') {;?> selected <?php }?>>Burundi</option>
<option country-code="KH" value="kh" <?php if($country =='KH') {;?> selected <?php }?>>Cambodia</option>
<option country-code="CM" value="cm" <?php if($country =='CM') {;?> selected <?php }?>>Cameroon</option>
<option country-code="CV" value="cv" <?php if($country =='CV') {;?> selected <?php }?>>Cape Verde</option>
<option country-code="KY" value="ky" <?php if($country =='KY') {;?> selected <?php }?>>Cayman Islands</option>
<option country-code="CF" value="cf" <?php if($country =='CF') {;?> selected <?php }?>>Central African Republic</option>
<option country-code="TD" value="td" <?php if($country =='TD') {;?> selected <?php }?>>Chad</option>
<option country-code="CL" value="cl" <?php if($country =='CL') {;?> selected <?php }?>>Chile</option>
<option country-code="CN" value="cn" <?php if($country =='CN') {;?> selected <?php }?>>China</option>
<option country-code="CX" value="cx" <?php if($country =='CX') {;?> selected <?php }?>>Christmas Island</option>
<option country-code="CC" value="cc" <?php if($country =='CC') {;?> selected <?php }?>>Cocos Islands</option>
<option country-code="CO" value="co" <?php if($country =='CO') {;?> selected <?php }?>>Colombia</option>
<option country-code="KM" value="km" <?php if($country =='KM') {;?> selected <?php }?>>Comoros</option>
<option country-code="CG" value="cg" <?php if($country =='CG') {;?> selected <?php }?>>Congo</option>
<option country-code="CD" value="cd" <?php if($country =='CD') {;?> selected <?php }?>>Congo, Democratic Republic of the</option>
<option country-code="CK" value="ck" <?php if($country =='CK') {;?> selected <?php }?>>Cook Islands</option>
<option country-code="CR" value="cr" <?php if($country =='CR') {;?> selected <?php }?>>Costa Rica</option>
<option country-code="HR" value="hrv" <?php if($country =='HR') {;?> selected <?php }?>>Croatia</option>
<option country-code="CU" value="cu" <?php if($country =='CU') {;?> selected <?php }?>>Cuba</option>
<option country-code="CY" value="cy" <?php if($country =='CY') {;?> selected <?php }?>>Cyprus</option>
<option country-code="CZ" value="cz" <?php if($country =='CZ') {;?> selected <?php }?>>Czech Republic</option>
<option country-code="DK" value="dk" <?php if($country =='DK') {;?> selected <?php }?>>Denmark</option>
<option country-code="DJ" value="dj" <?php if($country =='DJ') {;?> selected <?php }?>>Djibouti</option>
<option country-code="DM" value="dm" <?php if($country =='DM') {;?> selected <?php }?>>Dominica</option>
<option country-code="DO" value="do" <?php if($country =='DO') {;?> selected <?php }?>>Dominican Republic</option>
<option country-code="EC" value="ec" <?php if($country =='EC') {;?> selected <?php }?>>Ecuador</option>
<option country-code="EG" value="eg" <?php if($country =='EG') {;?> selected <?php }?>>Egypt</option>
<option country-code="SV" value="sv" <?php if($country =='SV') {;?> selected <?php }?>>El Salvador</option>
<option country-code="GQ" value="gq" <?php if($country =='GQ') {;?> selected <?php }?>>Equatorial Guinea</option>
<option country-code="ER" value="er" <?php if($country =='ER') {;?> selected <?php }?>>Eritrea</option>
<option country-code="EE" value="est" <?php if($country =='EE') {;?> selected <?php }?>>Estonia</option>
<option country-code="ET" value="et" <?php if($country =='ET') {;?> selected <?php }?>>Ethiopia</option>
<option country-code="FK" value="fk" <?php if($country =='FK') {;?> selected <?php }?>>Falkland Islands</option>
<option country-code="FO" value="fo" <?php if($country =='FO') {;?> selected <?php }?>>Faroe Islands</option>
<option country-code="FJ" value="fj" <?php if($country =='FJ') {;?> selected <?php }?>>Fiji</option>
<option country-code="FI" value="fi" <?php if($country =='FI') {;?> selected <?php }?>>Finland</option>
<option country-code="FR" value="fr" <?php if($country =='FR') {;?> selected <?php }?>>France</option>
<option country-code="GF" value="gf" <?php if($country =='GF') {;?> selected <?php }?>>French Guiana</option>
<option country-code="PF" value="pf" <?php if($country =='PF') {;?> selected <?php }?>>French Polynesia</option>
<option country-code="GA" value="ga" <?php if($country =='GA') {;?> selected <?php }?>>Gabon</option>
<option country-code="GM" value="gm" <?php if($country =='GM') {;?> selected <?php }?>>Gambia</option>
<option country-code="GE" value="geo" <?php if($country =='GE') {;?> selected <?php }?>>Georgia</option>
<option country-code="DE" value="de" <?php if($country =='DE') {;?> selected <?php }?>>Germany</option>
<option country-code="GH" value="gh" <?php if($country =='GH') {;?> selected <?php }?>>Ghana</option>
<option country-code="GI" value="gi" <?php if($country =='GI') {;?> selected <?php }?>>Gibraltar</option>
<option country-code="GR" value="gr" <?php if($country =='GR') {;?> selected <?php }?>>Greece</option>
<option country-code="GL" value="gl" <?php if($country =='GL') {;?> selected <?php }?>>Greenland</option>
<option country-code="GD" value="gd" <?php if($country =='GD') {;?> selected <?php }?>>Grenada</option>
<option country-code="GP" value="gp" <?php if($country =='GP') {;?> selected <?php }?>>Guadeloupe</option>
<option country-code="GU" value="gu" <?php if($country =='GU') {;?> selected <?php }?>>Guam</option>
<option country-code="GT" value="gt" <?php if($country =='GT') {;?> selected <?php }?>>Guatemala</option>
<option country-code="GN" value="gn" <?php if($country =='GN') {;?> selected <?php }?>>Guinea</option>
<option country-code="GW" value="gw" <?php if($country =='GW') {;?> selected <?php }?>>Guinea-Bissau</option>
<option country-code="GY" value="gy" <?php if($country =='GY') {;?> selected <?php }?>>Guyana</option>
<option country-code="HT" value="ht" <?php if($country =='HT') {;?> selected <?php }?>>Haiti</option>
<option country-code="HM" value="hm" <?php if($country =='HM') {;?> selected <?php }?>>Heard Island and McDonald Islands</option>
<option country-code="HN" value="hn" <?php if($country =='HN') {;?> selected <?php }?>>Honduras</option>
<option country-code="HK" value="hk" <?php if($country =='HK') {;?> selected <?php }?>>Hong Kong</option>
<option country-code="HU" value="hu" <?php if($country =='HU') {;?> selected <?php }?>>Hungary</option>
<option country-code="IS" value="is" <?php if($country =='IS') {;?> selected <?php }?>>Iceland</option>
<option country-code="IN" value="in" <?php if($country =='IN') {;?> selected <?php }?>>India</option>
<option country-code="ID" value="id" <?php if($country =='ID') {;?> selected <?php }?>>Indonesia</option>
<option country-code="IR" value="ir" <?php if($country =='IR') {;?> selected <?php }?>>Iran</option>
<option country-code="IQ" value="iq" <?php if($country =='IQ') {;?> selected <?php }?>>Iraq</option>
<option country-code="IE" value="ie" <?php if($country =='IE') {;?> selected <?php }?>>Ireland</option>
<option country-code="IT" value="it" <?php if($country =='IT') {;?> selected <?php }?>>Italy</option>
<option country-code="JM" value="jm" <?php if($country =='JM') {;?> selected <?php }?>>Jamaica</option>
<option country-code="JP" value="jp" <?php if($country =='JP') {;?> selected <?php }?>>Japan</option>
<option country-code="JO" value="jo" <?php if($country =='JO') {;?> selected <?php }?>>Jordan</option>
<option country-code="KZ" value="kz" <?php if($country =='KZ') {;?> selected <?php }?>>Kazakhstan</option>
<option country-code="KE" value="ke" <?php if($country =='KE') {;?> selected <?php }?>>Kenya</option>
<option country-code="KI" value="ki" <?php if($country =='KI') {;?> selected <?php }?>>Kiribati</option>
<option country-code="KW" value="kw" <?php if($country =='KW') {;?> selected <?php }?>>Kuwait</option>
<option country-code="KG" value="kg" <?php if($country =='KG') {;?> selected <?php }?>>Kyrgyzstan</option>
<option country-code="LA" value="la" <?php if($country =='LA') {;?> selected <?php }?>>Laos</option>
<option country-code="LV" value="lv" <?php if($country =='LV') {;?> selected <?php }?>>Latvia</option>
<option country-code="LB" value="lb" <?php if($country =='LB') {;?> selected <?php }?>>Lebanon</option>
<option country-code="LS" value="ls" <?php if($country =='LS') {;?> selected <?php }?>>Lesotho</option>
<option country-code="LR" value="lr" <?php if($country =='LR') {;?> selected <?php }?>>Liberia</option>
<option country-code="LY" value="ly" <?php if($country =='LY') {;?> selected <?php }?>>Libya</option>
<option country-code="LI" value="li" <?php if($country =='LI') {;?> selected <?php }?>>Liechtenstein</option>
<option country-code="LT" value="lt" <?php if($country =='LT') {;?> selected <?php }?>>Lithuania</option>
<option country-code="LU" value="lu" <?php if($country =='LU') {;?> selected <?php }?>>Luxembourg</option>
<option country-code="MO" value="mo" <?php if($country =='MO') {;?> selected <?php }?>>Macao</option>
<option country-code="MK" value="mk" <?php if($country =='MK') {;?> selected <?php }?>>Macedonia</option>
<option country-code="MG" value="mg" <?php if($country =='MG') {;?> selected <?php }?>>Madagascar</option>
<option country-code="MW" value="mw" <?php if($country =='MW') {;?> selected <?php }?>>Malawi</option>
<option country-code="MY" value="my" <?php if($country =='MY') {;?> selected <?php }?>>Malaysia</option>
<option country-code="MV" value="mv" <?php if($country =='MV') {;?> selected <?php }?>>Maldives</option>
<option country-code="SO" value="so" <?php if($country =='SO') {;?> selected <?php }?>>Mali</option>
<option country-code="MT" value="mt" <?php if($country =='MT') {;?> selected <?php }?>>Malta</option>
<option country-code="MH" value="mh" <?php if($country =='MH') {;?> selected <?php }?>>Marshall Islands</option>
<option country-code="MQ" value="mq" <?php if($country =='MQ') {;?> selected <?php }?>>Martinique</option>
<option country-code="MR" value="mr" <?php if($country =='MR') {;?> selected <?php }?>>Mauritania</option>
<option country-code="MU" value="mu" <?php if($country =='MU') {;?> selected <?php }?>>Mauritius</option>
<option country-code="YT "value="yt" <?php if($country =='YT') {;?> selected <?php }?>>Mayotte</option>
<option country-code="MX" value="mx" <?php if($country =='MX') {;?> selected <?php }?>>Mexico</option>
<option country-code="FM" value="fm" <?php if($country =='FM') {;?> selected <?php }?>>Micronesia</option>
<option country-code="MD" value="md" <?php if($country =='MD') {;?> selected <?php }?>>Moldova</option>
<option country-code="MC" value="mc" <?php if($country =='MC') {;?> selected <?php }?>>Monaco</option>
<option country-code="MN" value="mn" <?php if($country =='MN') {;?> selected <?php }?>>Mongolia</option>
<option country-code="MS" value="ms" <?php if($country =='MS') {;?> selected <?php }?>>Montserrat</option>
<option country-code="MA" value="ma" <?php if($country =='MA') {;?> selected <?php }?>>Morocco</option>
<option country-code="MZ" value="mz" <?php if($country =='MZ') {;?> selected <?php }?>>Mozambique</option>
<option country-code="MM" value="mm" <?php if($country =='MM') {;?> selected <?php }?>>Myanmar</option>
<option country-code="NA" value="na" <?php if($country =='NA') {;?> selected <?php }?>>Namibia</option>
<option country-code="NR" value="nr" <?php if($country =='NR') {;?> selected <?php }?>>Nauru</option>
<option country-code="NP" value="nep" <?php if($country =='NP') {;?> selected <?php }?>>Nepal</option>
<option country-code="NL" value="nl" <?php if($country =='NL') {;?> selected <?php }?>>Netherlands</option>
<option country-code="NC" value="nc" <?php if($country =='NC') {;?> selected <?php }?>>New Caledonia</option>
<option country-code="NZ" value="nz" <?php if($country =='NZ') {;?> selected <?php }?>>New Zealand</option>
<option country-code="NI" value="ni" <?php if($country =='NI') {;?> selected <?php }?>>Nicaragua</option>
<option country-code="NE" value="ne" <?php if($country =='NE') {;?> selected <?php }?>>Niger</option>
<option country-code="NG" value="ng" <?php if($country =='NG') {;?> selected <?php }?>>Nigeria</option>
<option country-code="NF" value="nf" <?php if($country =='NF') {;?> selected <?php }?>>Norfolk Island</option>
<option country-code="KP" value="kp" <?php if($country =='KP') {;?> selected <?php }?>>North Korea</option>
<option country-code="NO" value="no" <?php if($country =='NO') {;?> selected <?php }?>>Norway</option>
<option country-code="OM" value="om" <?php if($country =='OM') {;?> selected <?php }?>>Oman</option>
<option country-code="PK" value="pk" <?php if($country =='PK') {;?> selected <?php }?>>Pakistan</option>
<option country-code="PW" value="pw" <?php if($country =='PW') {;?> selected <?php }?>>Palau</option>
<option country-code="PS" value="ps" <?php if($country =='PS') {;?> selected <?php }?>>Palestinian Territory</option>
<option country-code="PA" value="pa" <?php if($country =='PA') {;?> selected <?php }?>>Panama</option>
<option country-code="PG" value="pg" <?php if($country =='PG') {;?> selected <?php }?>>Papua New Guinea</option>
<option country-code="PY" value="py" <?php if($country =='PY') {;?> selected <?php }?>>Paraguay</option>
<option country-code="PE" value="pe" <?php if($country =='PE') {;?> selected <?php }?>>Peru</option>
<option country-code="PH" value="ph" <?php if($country =='PH') {;?> selected <?php }?>>Philippines</option>
<option country-code="PN" value="pn" <?php if($country =='PN') {;?> selected <?php }?>>Pitcairn</option>
<option country-code="PL" value="pl" <?php if($country =='PL') {;?> selected <?php }?>>Poland</option>
<option country-code="PT" value="pt" <?php if($country =='PT') {;?> selected <?php }?>>Portugal</option>
<option country-code="PR" value="pr" <?php if($country =='PR') {;?> selected <?php }?>>Puerto Rico</option>
<option country-code="QA" value="qa" <?php if($country =='QA') {;?> selected <?php }?>>Qatar</option>
<option country-code="RO" value="rum" <?php if($country =='RO') {;?> selected <?php }?>>Romania</option>
<option country-code="RU" value="rus" <?php if($country =='RU') {;?> selected <?php }?>>Russian Federation</option>
<option country-code="RW" value="rw" <?php if($country =='RW') {;?> selected <?php }?>>Rwanda</option>
<option country-code="SH" value="sh" <?php if($country =='SH') {;?> selected <?php }?>>Saint Helena</option>
<option country-code="KN" value="kn" <?php if($country =='KN') {;?> selected <?php }?>>Saint Kitts and Nevis</option>
<option country-code="LC" value="lc" <?php if($country =='LC') {;?> selected <?php }?>>Saint Lucia</option>
<option country-code="PM" value="pm" <?php if($country =='PM') {;?> selected <?php }?>>Saint Pierre and Miquelon</option>
<option country-code="VC" value="vc" <?php if($country =='VC') {;?> selected <?php }?>>Saint Vincent and the Grenadines</option>
<option country-code="WS" value="ws" <?php if($country =='WS') {;?> selected <?php }?>>Samoa</option>
<option country-code="SM" value="sm" <?php if($country =='SM') {;?> selected <?php }?>>San Marino</option>
<option country-code="ST" value="st" <?php if($country =='ST') {;?> selected <?php }?>>Sao Tome and Principe</option>
<option country-code="SA" value="sa" <?php if($country =='SA') {;?> selected <?php }?>>Saudi Arabia</option>
<option country-code="SN" value="sn" <?php if($country =='SN') {;?> selected <?php }?>>Senegal</option>
<option country-code="RS" value="rs" <?php if($country =='RS') {;?> selected <?php }?>>Serbia</option>
<option country-code="SC" value="sc" <?php if($country =='SC') {;?> selected <?php }?>>Seychelles</option>
<option country-code="SL" value="sl" <?php if($country =='SL') {;?> selected <?php }?>>Sierra Leone</option>
<option country-code="SG" value="sg" <?php if($country =='SG') {;?> selected <?php }?>>Singapore</option>
<option country-code="SK" value="sk" <?php if($country =='SK') {;?> selected <?php }?>>Slovakia</option>
<option country-code="SI" value="si" <?php if($country =='SI') {;?> selected <?php }?>>Slovenia</option>
<option country-code="SB" value="sb" <?php if($country =='SB') {;?> selected <?php }?>>Solomon Islands</option>
<option country-code="SO" value="so" <?php if($country =='SO') {;?> selected <?php }?>>Somalia</option>
<option country-code="ZA" value="za" <?php if($country =='ZA') {;?> selected <?php }?>>South Africa</option>
<option country-code="GS" value="gs" <?php if($country =='GS') {;?> selected <?php }?>>South Georgia</option>
<option country-code="KR" value="kr" <?php if($country =='KR') {;?> selected <?php }?>>South Korea</option>
<option country-code="ES" value="es" <?php if($country =='ES') {;?> selected <?php }?>>Spain</option>
<option country-code="IK" value="lk" <?php if($country =='LK') {;?> selected <?php }?>>Sri Lanka</option>
<option country-code="SD" value="sd" <?php if($country =='SD') {;?> selected <?php }?>>Sudan</option>
<option country-code="SR" value="sr" <?php if($country =='SR') {;?> selected <?php }?>>Suriname</option>
<option country-code="SJ" value="sj" <?php if($country =='SJ') {;?> selected <?php }?>>Svalbard and Jan Mayen</option>
<option country-code="SZ" value="sz" <?php if($country =='SZ') {;?> selected <?php }?>>Swaziland</option>
<option country-code="SE" value="se" <?php if($country =='SE') {;?> selected <?php }?>>Sweden</option>
<option country-code="CH" value="ch" <?php if($country =='CH') {;?> selected <?php }?>>Switzerland</option>
<option country-code="SY" value="sy" <?php if($country =='SY') {;?> selected <?php }?>>Syrian</option>
<option country-code="TW" value="tw" <?php if($country =='TW') {;?> selected <?php }?>>Taiwan</option>
<option country-code="TJ" value="tj" <?php if($country =='TJ') {;?> selected <?php }?>>Tajikistan</option>
<option country-code="TZ" value="tz" <?php if($country =='TZ') {;?> selected <?php }?>>Tanzania</option>
<option country-code="TH" value="th" <?php if($country =='TH') {;?> selected <?php }?>>Thailand</option>
<option country-code="TG" value="tg" <?php if($country =='TG') {;?> selected <?php }?>>Togo</option>
<option country-code="TK" value="tk" <?php if($country =='TK') {;?> selected <?php }?>>Tokelau</option>
<option country-code="TO" value="to" <?php if($country =='TO') {;?> selected <?php }?>>Tonga</option>
<option country-code="TT" value="tt" <?php if($country =='TT') {;?> selected <?php }?>>Trinidad and Tobago</option>
<option country-code="TN" value="tn" <?php if($country =='TN') {;?> selected <?php }?>>Tunisia</option>
<option country-code="TR" value="tr" <?php if($country =='TR') {;?> selected <?php }?>>Turkey</option>
<option country-code="TM" value="tm" <?php if($country =='TM') {;?> selected <?php }?>>Turkmenistan</option>
<option country-code="TV" value="tv" <?php if($country =='TV') {;?> selected <?php }?>>Tuvalu</option>
<option country-code="UG" value="ug" <?php if($country =='UG') {;?> selected <?php }?>>Uganda</option>
<option country-code="UA" value="ua" <?php if($country =='UA') {;?> selected <?php }?>>Ukraine</option>
<option country-code="AE" value="ae" <?php if($country =='AE') {;?> selected <?php }?>>United Arab Emirates</option>
<option country-code="GB" value="gb" <?php if($country =='GB') {;?> selected <?php }?>>United Kingdom</option>
<option country-code="UY" value="uy" <?php if($country =='UY') {;?> selected <?php }?>>Uruguay</option>
<option country-code="UZ" value="uz" <?php if($country =='UZ') {;?> selected <?php }?>>Uzbekistan</option>
<option country-code="VU" value="vu" <?php if($country =='VU') {;?> selected <?php }?>>Vanuatu</option>
<option country-code="VA" value="va" <?php if($country =='VA') {;?> selected <?php }?>>Vatican</option>
<option country-code="VE" value="ve" <?php if($country =='VE') {;?> selected <?php }?>>Venezuela</option>
<option country-code="VN" value="vn" <?php if($country =='VN') {;?> selected <?php }?>>Vietnam</option>
<option country-code="VG" value="vg" <?php if($country =='VG') {;?> selected <?php }?>>Virgin Islands, British</option>
<option country-code="WF" value="wf" <?php if($country =='WF') {;?> selected <?php }?>>Wallis and Futuna</option>
<option country-code="EH" value="eh" <?php if($country =='EH') {;?> selected <?php }?>>Western Sahara</option>
<option country-code="YE" value="ye" <?php if($country =='YE') {;?> selected <?php }?>>Yemen</option>
<option country-code="ZM" value="zm" <?php if($country =='ZM') {;?> selected <?php }?>>Zambia</option>
<option country-code="ZW" value="zw" <?php if($country =='ZW') {;?> selected <?php }?>>Zimbabwe</option>
</select>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment