Form country code select with if selected test

/ Published in: PHP
Save to your folder(s)

Copy this code and paste it in your HTML
  1. <?PHP $sel = 'selected="selected"'; ?>
  2. <select class="field" style="width: 244px;" name="country">
  3. <option value=""></option>
  4. <option value="NZ" <?PHP if(empty($_POST['country']) || $_POST['country']=='NZ') echo $sel ?>>New Zealand</option>
  5. <option value="AU" <?PHP if($_POST['country']=='AU') echo $sel ?>>Australia</option>
  6. <option value="AF" <?PHP if($_POST['country']=='AF') echo $sel ?>>Afghanistan</option>
  7. <option value="AL" <?PHP if($_POST['country']=='AL') echo $sel ?>>Albania</option>
  8. <option value="DZ" <?PHP if($_POST['country']=='DZ') echo $sel ?>>Algeria</option>
  9. <option value="AS" <?PHP if($_POST['country']=='AS') echo $sel ?>>American Samoa</option>
  10. <option value="AD" <?PHP if($_POST['country']=='AD') echo $sel ?>>Andorra</option>
  11. <option value="AO" <?PHP if($_POST['country']=='AO') echo $sel ?>>Angola</option>
  12. <option value="AI" <?PHP if($_POST['country']=='AI') echo $sel ?>>Anguilla</option>
  13. <option value="AQ" <?PHP if($_POST['country']=='AQ') echo $sel ?>>Antarctica</option>
  14. <option value="AG" <?PHP if($_POST['country']=='AG') echo $sel ?>>Antigua &amp; Barbuda</option>
  15. <option value="AR" <?PHP if($_POST['country']=='AR') echo $sel ?>>Argentina</option>
  16. <option value="AM" <?PHP if($_POST['country']=='AM') echo $sel ?>>Armenia</option>
  17. <option value="AW" <?PHP if($_POST['country']=='AW') echo $sel ?>>Aruba</option>
  18. <option value="AT" <?PHP if($_POST['country']=='AT') echo $sel ?>>Austria</option>
  19. <option value="AZ" <?PHP if($_POST['country']=='AZ') echo $sel ?>>Azerbaijan</option>
  20. <option value="BS" <?PHP if($_POST['country']=='BS') echo $sel ?>>Bahamas</option>
  21. <option value="BH" <?PHP if($_POST['country']=='BH') echo $sel ?>>Bahrain</option>
  22. <option value="BD" <?PHP if($_POST['country']=='BD') echo $sel ?>>Bangladesh</option>
  23. <option value="BB" <?PHP if($_POST['country']=='BB') echo $sel ?>>Barbados</option>
  24. <option value="BY" <?PHP if($_POST['country']=='BY') echo $sel ?>>Belarus</option>
  25. <option value="BE" <?PHP if($_POST['country']=='BE') echo $sel ?>>Belgium</option>
  26. <option value="BZ" <?PHP if($_POST['country']=='BZ') echo $sel ?>>Belize</option>
  27. <option value="BJ" <?PHP if($_POST['country']=='BJ') echo $sel ?>>Benin</option>
  28. <option value="BM" <?PHP if($_POST['country']=='BM') echo $sel ?>>Bermuda</option>
  29. <option value="BT" <?PHP if($_POST['country']=='BT') echo $sel ?>>Bhutan</option>
  30. <option value="BO" <?PHP if($_POST['country']=='BO') echo $sel ?>>Bolivia</option>
  31. <option value="BA" <?PHP if($_POST['country']=='BA') echo $sel ?>>Bosnia/Hercegovina</option>
  32. <option value="BW" <?PHP if($_POST['country']=='BW') echo $sel ?>>Botswana</option>
  33. <option value="BV" <?PHP if($_POST['country']=='BV') echo $sel ?>>Bouvet Island</option>
  34. <option value="BR" <?PHP if($_POST['country']=='BR') echo $sel ?>>Brazil</option>
  35. <option value="IO" <?PHP if($_POST['country']=='IO') echo $sel ?>>British Indian Ocean Territory</option>
  36. <option value="BN" <?PHP if($_POST['country']=='BN') echo $sel ?>>Brunei Darussalam</option>
  37. <option value="BG" <?PHP if($_POST['country']=='BG') echo $sel ?>>Bulgaria</option>
  38. <option value="BF" <?PHP if($_POST['country']=='BF') echo $sel ?>>Burkina Faso</option>
  39. <option value="BI" <?PHP if($_POST['country']=='BI') echo $sel ?>>Burundi</option>
  40. <option value="KH" <?PHP if($_POST['country']=='KH') echo $sel ?>>Cambodia</option>
  41. <option value="CM" <?PHP if($_POST['country']=='CM') echo $sel ?>>Cameroon</option>
  42. <option value="CA" <?PHP if($_POST['country']=='CA') echo $sel ?>>Canada</option>
  43. <option value="CV" <?PHP if($_POST['country']=='CV') echo $sel ?>>Cape Verde</option>
  44. <option value="KY" <?PHP if($_POST['country']=='KY') echo $sel ?>>Cayman Is</option>
  45. <option value="CF" <?PHP if($_POST['country']=='CF') echo $sel ?>>Central African Republic</option>
  46. <option value="TD" <?PHP if($_POST['country']=='TD') echo $sel ?>>Chad</option>
  47. <option value="CL" <?PHP if($_POST['country']=='CL') echo $sel ?>>Chile</option>
  48. <option value="CN" <?PHP if($_POST['country']=='CN') echo $sel ?>>China, People's Republic of</option>
  49. <option value="CX" <?PHP if($_POST['country']=='CX') echo $sel ?>>Christmas Island</option>
  50. <option value="CC" <?PHP if($_POST['country']=='CC') echo $sel ?>>Cocos Islands</option>
  51. <option value="CO" <?PHP if($_POST['country']=='CO') echo $sel ?>>Colombia</option>
  52. <option value="KM" <?PHP if($_POST['country']=='KM') echo $sel ?>>Comoros</option>
  53. <option value="CG" <?PHP if($_POST['country']=='CG') echo $sel ?>>Congo</option>
  54. <option value="CD" <?PHP if($_POST['country']=='CD') echo $sel ?>>Congo, Democratic Republic</option>
  55. <option value="CK" <?PHP if($_POST['country']=='CK') echo $sel ?>>Cook Islands</option>
  56. <option value="CR" <?PHP if($_POST['country']=='CR') echo $sel ?>>Costa Rica</option>
  57. <option value="CI" <?PHP if($_POST['country']=='CI') echo $sel ?>>Cote d'Ivoire</option>
  58. <option value="HR" <?PHP if($_POST['country']=='HR') echo $sel ?>>Croatia</option>
  59. <option value="CU" <?PHP if($_POST['country']=='CU') echo $sel ?>>Cuba</option>
  60. <option value="CY" <?PHP if($_POST['country']=='CY') echo $sel ?>>Cyprus</option>
  61. <option value="CZ" <?PHP if($_POST['country']=='CZ') echo $sel ?>>Czech Republic</option>
  62. <option value="DK" <?PHP if($_POST['country']=='DK') echo $sel ?>>Denmark</option>
  63. <option value="DJ" <?PHP if($_POST['country']=='DJ') echo $sel ?>>Djibouti</option>
  64. <option value="DM" <?PHP if($_POST['country']=='DM') echo $sel ?>>Dominica</option>
  65. <option value="DO" <?PHP if($_POST['country']=='DO') echo $sel ?>>Dominican Republic</option>
  66. <option value="TP" <?PHP if($_POST['country']=='TP') echo $sel ?>>East Timor</option>
  67. <option value="EC" <?PHP if($_POST['country']=='EC') echo $sel ?>>Ecuador</option>
  68. <option value="EG" <?PHP if($_POST['country']=='EG') echo $sel ?>>Egypt</option>
  69. <option value="SV" <?PHP if($_POST['country']=='SV') echo $sel ?>>El Salvador</option>
  70. <option value="GQ" <?PHP if($_POST['country']=='GQ') echo $sel ?>>Equatorial Guinea</option>
  71. <option value="ER" <?PHP if($_POST['country']=='ER') echo $sel ?>>Eritrea</option>
  72. <option value="EE" <?PHP if($_POST['country']=='EE') echo $sel ?>>Estonia</option>
  73. <option value="ET" <?PHP if($_POST['country']=='ET') echo $sel ?>>Ethiopia</option>
  74. <option value="FK" <?PHP if($_POST['country']=='FK') echo $sel ?>>Falkland Islands</option>
  75. <option value="FO" <?PHP if($_POST['country']=='FO') echo $sel ?>>Faroe Islands</option>
  76. <option value="FJ" <?PHP if($_POST['country']=='FJ') echo $sel ?>>Fiji</option>
  77. <option value="FI" <?PHP if($_POST['country']=='FI') echo $sel ?>>Finland</option>
  78. <option value="FR" <?PHP if($_POST['country']=='FR') echo $sel ?>>France</option>
  79. <option value="FX" <?PHP if($_POST['country']=='FX') echo $sel ?>>France, Metropolitan</option>
  80. <option value="GF" <?PHP if($_POST['country']=='GF') echo $sel ?>>French Guiana</option>
  81. <option value="PF" <?PHP if($_POST['country']=='PF') echo $sel ?>>French Polynesia</option>
  82. <option value="TF" <?PHP if($_POST['country']=='TF') echo $sel ?>>French South Territories</option>
  83. <option value="GA" <?PHP if($_POST['country']=='GA') echo $sel ?>>Gabon</option>
  84. <option value="GM" <?PHP if($_POST['country']=='GM') echo $sel ?>>Gambia</option>
  85. <option value="GE" <?PHP if($_POST['country']=='GE') echo $sel ?>>Georgia</option>
  86. <option value="DE" <?PHP if($_POST['country']=='DE') echo $sel ?>>Germany</option>
  87. <option value="GH" <?PHP if($_POST['country']=='GH') echo $sel ?>>Ghana</option>
  88. <option value="GI" <?PHP if($_POST['country']=='GI') echo $sel ?>>Gibraltar</option>
  89. <option value="GR" <?PHP if($_POST['country']=='GR') echo $sel ?>>Greece</option>
  90. <option value="GL" <?PHP if($_POST['country']=='GL') echo $sel ?>>Greenland</option>
  91. <option value="GD" <?PHP if($_POST['country']=='GD') echo $sel ?>>Grenada</option>
  92. <option value="GP" <?PHP if($_POST['country']=='GP') echo $sel ?>>Guadeloupe</option>
  93. <option value="GU" <?PHP if($_POST['country']=='GU') echo $sel ?>>Guam</option>
  94. <option value="GT" <?PHP if($_POST['country']=='GT') echo $sel ?>>Guatemala</option>
  95. <option value="GN" <?PHP if($_POST['country']=='GN') echo $sel ?>>Guinea</option>
  96. <option value="GW" <?PHP if($_POST['country']=='GW') echo $sel ?>>Guinea-Bissau</option>
  97. <option value="GY" <?PHP if($_POST['country']=='GY') echo $sel ?>>Guyana</option>
  98. <option value="HT" <?PHP if($_POST['country']=='HT') echo $sel ?>>Haiti</option>
  99. <option value="HM" <?PHP if($_POST['country']=='HM') echo $sel ?>>Heard Island And Mcdonald Island</option>
  100. <option value="HN" <?PHP if($_POST['country']=='HN') echo $sel ?>>Honduras</option>
  101. <option value="HK" <?PHP if($_POST['country']=='HK') echo $sel ?>>Hong Kong</option>
  102. <option value="HU" <?PHP if($_POST['country']=='HU') echo $sel ?>>Hungary</option>
  103. <option value="IS" <?PHP if($_POST['country']=='IS') echo $sel ?>>Iceland</option>
  104. <option value="IN" <?PHP if($_POST['country']=='IN') echo $sel ?>>India</option>
  105. <option value="ID" <?PHP if($_POST['country']=='ID') echo $sel ?>>Indonesia</option>
  106. <option value="IR" <?PHP if($_POST['country']=='IR') echo $sel ?>>Iran</option>
  107. <option value="IQ" <?PHP if($_POST['country']=='IQ') echo $sel ?>>Iraq</option>
  108. <option value="IE" <?PHP if($_POST['country']=='IE') echo $sel ?>>Ireland</option>
  109. <option value="IL" <?PHP if($_POST['country']=='IL') echo $sel ?>>Israel</option>
  110. <option value="IT" <?PHP if($_POST['country']=='IT') echo $sel ?>>Italy</option>
  111. <option value="JM" <?PHP if($_POST['country']=='JM') echo $sel ?>>Jamaica</option>
  112. <option value="JP" <?PHP if($_POST['country']=='JP') echo $sel ?>>Japan</option>
  113. <option value="JT" <?PHP if($_POST['country']=='JT') echo $sel ?>>Johnston Island</option>
  114. <option value="JO" <?PHP if($_POST['country']=='JO') echo $sel ?>>Jordan</option>
  115. <option value="KZ" <?PHP if($_POST['country']=='KZ') echo $sel ?>>Kazakhstan</option>
  116. <option value="KE" <?PHP if($_POST['country']=='KE') echo $sel ?>>Kenya</option>
  117. <option value="KI" <?PHP if($_POST['country']=='KI') echo $sel ?>>Kiribati</option>
  118. <option value="KP" <?PHP if($_POST['country']=='KP') echo $sel ?>>Korea, Democratic Peoples Republic</option>
  119. <option value="KR" <?PHP if($_POST['country']=='KR') echo $sel ?>>Korea, Republic of</option>
  120. <option value="KW" <?PHP if($_POST['country']=='KW') echo $sel ?>>Kuwait</option>
  121. <option value="KG" <?PHP if($_POST['country']=='KG') echo $sel ?>>Kyrgyzstan</option>
  122. <option value="LA" <?PHP if($_POST['country']=='LA') echo $sel ?>>Lao People's Democratic Republic</option>
  123. <option value="LV" <?PHP if($_POST['country']=='LV') echo $sel ?>>Latvia</option>
  124. <option value="LB" <?PHP if($_POST['country']=='LB') echo $sel ?>>Lebanon</option>
  125. <option value="LS" <?PHP if($_POST['country']=='LS') echo $sel ?>>Lesotho</option>
  126. <option value="LR" <?PHP if($_POST['country']=='LR') echo $sel ?>>Liberia</option>
  127. <option value="LY" <?PHP if($_POST['country']=='LY') echo $sel ?>>Libyan Arab Jamahiriya</option>
  128. <option value="LI" <?PHP if($_POST['country']=='LI') echo $sel ?>>Liechtenstein</option>
  129. <option value="LT" <?PHP if($_POST['country']=='LT') echo $sel ?>>Lithuania</option>
  130. <option value="LU" <?PHP if($_POST['country']=='LU') echo $sel ?>>Luxembourg</option>
  131. <option value="MO" <?PHP if($_POST['country']=='MO') echo $sel ?>>Macau</option>
  132. <option value="MK" <?PHP if($_POST['country']=='MK') echo $sel ?>>Macedonia</option>
  133. <option value="MG" <?PHP if($_POST['country']=='MG') echo $sel ?>>Madagascar</option>
  134. <option value="MW" <?PHP if($_POST['country']=='MW') echo $sel ?>>Malawi</option>
  135. <option value="MY" <?PHP if($_POST['country']=='MY') echo $sel ?>>Malaysia</option>
  136. <option value="MV" <?PHP if($_POST['country']=='MV') echo $sel ?>>Maldives</option>
  137. <option value="ML" <?PHP if($_POST['country']=='ML') echo $sel ?>>Mali</option>
  138. <option value="MT" <?PHP if($_POST['country']=='MT') echo $sel ?>>Malta</option>
  139. <option value="MH" <?PHP if($_POST['country']=='MH') echo $sel ?>>Marshall Islands</option>
  140. <option value="MQ" <?PHP if($_POST['country']=='MQ') echo $sel ?>>Martinique</option>
  141. <option value="MR" <?PHP if($_POST['country']=='MR') echo $sel ?>>Mauritania</option>
  142. <option value="MU" <?PHP if($_POST['country']=='MU') echo $sel ?>>Mauritius</option>
  143. <option value="YT" <?PHP if($_POST['country']=='YT') echo $sel ?>>Mayotte</option>
  144. <option value="MX" <?PHP if($_POST['country']=='MX') echo $sel ?>>Mexico</option>
  145. <option value="FM" <?PHP if($_POST['country']=='FM') echo $sel ?>>Micronesia</option>
  146. <option value="MD" <?PHP if($_POST['country']=='MD') echo $sel ?>>Moldavia</option>
  147. <option value="MC" <?PHP if($_POST['country']=='MC') echo $sel ?>>Monaco</option>
  148. <option value="MN" <?PHP if($_POST['country']=='MN') echo $sel ?>>Mongolia</option>
  149. <option value="MS" <?PHP if($_POST['country']=='MS') echo $sel ?>>Montserrat</option>
  150. <option value="MA" <?PHP if($_POST['country']=='MA') echo $sel ?>>Morocco</option>
  151. <option value="MZ" <?PHP if($_POST['country']=='MZ') echo $sel ?>>Mozambique</option>
  152. <option value="MM" <?PHP if($_POST['country']=='MM') echo $sel ?>>Union Of Myanmar</option>
  153. <option value="NA" <?PHP if($_POST['country']=='NA') echo $sel ?>>Namibia</option>
  154. <option value="NR" <?PHP if($_POST['country']=='NR') echo $sel ?>>Nauru Island</option>
  155. <option value="NP" <?PHP if($_POST['country']=='NP') echo $sel ?>>Nepal</option>
  156. <option value="NL" <?PHP if($_POST['country']=='NL') echo $sel ?>>Netherlands</option>
  157. <option value="AN" <?PHP if($_POST['country']=='AN') echo $sel ?>>Netherlands Antilles</option>
  158. <option value="NC" <?PHP if($_POST['country']=='NC') echo $sel ?>>New Caledonia</option>
  159. <option value="NI" <?PHP if($_POST['country']=='NI') echo $sel ?>>Nicaragua</option>
  160. <option value="NE" <?PHP if($_POST['country']=='NE') echo $sel ?>>Niger</option>
  161. <option value="NG" <?PHP if($_POST['country']=='NG') echo $sel ?>>Nigeria</option>
  162. <option value="NU" <?PHP if($_POST['country']=='NU') echo $sel ?>>Niue</option>
  163. <option value="NF" <?PHP if($_POST['country']=='NF') echo $sel ?>>Norfolk Island</option>
  164. <option value="MP" <?PHP if($_POST['country']=='MP') echo $sel ?>>Mariana Islands, Northern</option>
  165. <option value="NO" <?PHP if($_POST['country']=='NO') echo $sel ?>>Norway</option>
  166. <option value="OM" <?PHP if($_POST['country']=='OM') echo $sel ?>>Oman</option>
  167. <option value="PK" <?PHP if($_POST['country']=='PK') echo $sel ?>>Pakistan</option>
  168. <option value="PW" <?PHP if($_POST['country']=='PW') echo $sel ?>>Palau Islands</option>
  169. <option value="PS" <?PHP if($_POST['country']=='PS') echo $sel ?>>Palestine</option>
  170. <option value="PA" <?PHP if($_POST['country']=='PA') echo $sel ?>>Panama</option>
  171. <option value="PG" <?PHP if($_POST['country']=='PG') echo $sel ?>>Papua New Guinea</option>
  172. <option value="PY" <?PHP if($_POST['country']=='PY') echo $sel ?>>Paraguay</option>
  173. <option value="PE" <?PHP if($_POST['country']=='PE') echo $sel ?>>Peru</option>
  174. <option value="PH" <?PHP if($_POST['country']=='PH') echo $sel ?>>Philippines</option>
  175. <option value="PN" <?PHP if($_POST['country']=='PN') echo $sel ?>>Pitcairn</option>
  176. <option value="PL" <?PHP if($_POST['country']=='PL') echo $sel ?>>Poland</option>
  177. <option value="PT" <?PHP if($_POST['country']=='PT') echo $sel ?>>Portugal</option>
  178. <option value="PR" <?PHP if($_POST['country']=='PR') echo $sel ?>>Puerto Rico</option>
  179. <option value="QA" <?PHP if($_POST['country']=='QA') echo $sel ?>>Qatar</option>
  180. <option value="RE" <?PHP if($_POST['country']=='RE') echo $sel ?>>Reunion Island</option>
  181. <option value="RO" <?PHP if($_POST['country']=='RO') echo $sel ?>>Romania</option>
  182. <option value="RU" <?PHP if($_POST['country']=='RU') echo $sel ?>>Russian Federation</option>
  183. <option value="RW" <?PHP if($_POST['country']=='RW') echo $sel ?>>Rwanda</option>
  184. <option value="WS" <?PHP if($_POST['country']=='WS') echo $sel ?>>Samoa</option>
  185. <option value="SH" <?PHP if($_POST['country']=='SH') echo $sel ?>>St Helena</option>
  186. <option value="KN" <?PHP if($_POST['country']=='KN') echo $sel ?>>St Kitts &amp; Nevis</option>
  187. <option value="LC" <?PHP if($_POST['country']=='LC') echo $sel ?>>St Lucia</option>
  188. <option value="PM" <?PHP if($_POST['country']=='PM') echo $sel ?>>St Pierre &amp; Miquelon</option>
  189. <option value="VC" <?PHP if($_POST['country']=='VC') echo $sel ?>>St Vincent</option>
  190. <option value="SM" <?PHP if($_POST['country']=='SM') echo $sel ?>>San Marino</option>
  191. <option value="ST" <?PHP if($_POST['country']=='ST') echo $sel ?>>Sao Tome &amp; Principe</option>
  192. <option value="SA" <?PHP if($_POST['country']=='SA') echo $sel ?>>Saudi Arabia</option>
  193. <option value="SN" <?PHP if($_POST['country']=='SN') echo $sel ?>>Senegal</option>
  194. <option value="SC" <?PHP if($_POST['country']=='SC') echo $sel ?>>Seychelles</option>
  195. <option value="SL" <?PHP if($_POST['country']=='SL') echo $sel ?>>Sierra Leone</option>
  196. <option value="SG" <?PHP if($_POST['country']=='SG') echo $sel ?>>Singapore</option>
  197. <option value="SK" <?PHP if($_POST['country']=='SK') echo $sel ?>>Slovakia</option>
  198. <option value="SI" <?PHP if($_POST['country']=='SI') echo $sel ?>>Slovenia</option>
  199. <option value="SB" <?PHP if($_POST['country']=='SB') echo $sel ?>>Solomon Islands</option>
  200. <option value="SO" <?PHP if($_POST['country']=='SO') echo $sel ?>>Somalia</option>
  201. <option value="ZA" <?PHP if($_POST['country']=='ZA') echo $sel ?>>South Africa</option>
  202. <option value="GS" <?PHP if($_POST['country']=='GS') echo $sel ?>>South Georgia and South Sandwich</option>
  203. <option value="ES" <?PHP if($_POST['country']=='ES') echo $sel ?>>Spain</option>
  204. <option value="LK" <?PHP if($_POST['country']=='LK') echo $sel ?>>Sri Lanka</option>
  205. <option value="XX" <?PHP if($_POST['country']=='XX') echo $sel ?>>Stateless Persons</option>
  206. <option value="SD" <?PHP if($_POST['country']=='SD') echo $sel ?>>Sudan</option>
  207. <option value="SR" <?PHP if($_POST['country']=='SR') echo $sel ?>>Suriname</option>
  208. <option value="SJ" <?PHP if($_POST['country']=='SJ') echo $sel ?>>Svalbard and Jan Mayen</option>
  209. <option value="SZ" <?PHP if($_POST['country']=='SZ') echo $sel ?>>Swaziland</option>
  210. <option value="SE" <?PHP if($_POST['country']=='SE') echo $sel ?>>Sweden</option>
  211. <option value="CH" <?PHP if($_POST['country']=='CH') echo $sel ?>>Switzerland</option>
  212. <option value="SY" <?PHP if($_POST['country']=='SY') echo $sel ?>>Syrian Arab Republic</option>
  213. <option value="TW" <?PHP if($_POST['country']=='TW') echo $sel ?>>Taiwan, Republic of China</option>
  214. <option value="TJ" <?PHP if($_POST['country']=='TJ') echo $sel ?>>Tajikistan</option>
  215. <option value="TZ" <?PHP if($_POST['country']=='TZ') echo $sel ?>>Tanzania</option>
  216. <option value="TH" <?PHP if($_POST['country']=='TH') echo $sel ?>>Thailand</option>
  217. <option value="TL" <?PHP if($_POST['country']=='TL') echo $sel ?>>Timor Leste</option>
  218. <option value="TG" <?PHP if($_POST['country']=='TG') echo $sel ?>>Togo</option>
  219. <option value="TK" <?PHP if($_POST['country']=='TK') echo $sel ?>>Tokelau</option>
  220. <option value="TO" <?PHP if($_POST['country']=='TO') echo $sel ?>>Tonga</option>
  221. <option value="TT" <?PHP if($_POST['country']=='TT') echo $sel ?>>Trinidad &amp; Tobago</option>
  222. <option value="TN" <?PHP if($_POST['country']=='TN') echo $sel ?>>Tunisia</option>
  223. <option value="TR" <?PHP if($_POST['country']=='TR') echo $sel ?>>Turkey</option>
  224. <option value="TM" <?PHP if($_POST['country']=='TM') echo $sel ?>>Turkmenistan</option>
  225. <option value="TC" <?PHP if($_POST['country']=='TC') echo $sel ?>>Turks And Caicos Islands</option>
  226. <option value="TV" <?PHP if($_POST['country']=='TV') echo $sel ?>>Tuvalu</option>
  227. <option value="UG" <?PHP if($_POST['country']=='UG') echo $sel ?>>Uganda</option>
  228. <option value="UA" <?PHP if($_POST['country']=='UA') echo $sel ?>>Ukraine</option>
  229. <option value="AE" <?PHP if($_POST['country']=='AE') echo $sel ?>>United Arab Emirates</option>
  230. <option value="GB" <?PHP if($_POST['country']=='GB') echo $sel ?>>United Kingdom</option>
  231. <option value="UM" <?PHP if($_POST['country']=='UM') echo $sel ?>>US Minor Outlying Islands</option>
  232. <option value="US" <?PHP if($_POST['country']=='US') echo $sel ?>>USA</option>
  233. <option value="HV" <?PHP if($_POST['country']=='HV') echo $sel ?>>Upper Volta</option>
  234. <option value="UY" <?PHP if($_POST['country']=='UY') echo $sel ?>>Uruguay</option>
  235. <option value="UZ" <?PHP if($_POST['country']=='UZ') echo $sel ?>>Uzbekistan</option>
  236. <option value="VU" <?PHP if($_POST['country']=='VU') echo $sel ?>>Vanuatu</option>
  237. <option value="VA" <?PHP if($_POST['country']=='VA') echo $sel ?>>Vatican City State</option>
  238. <option value="VE" <?PHP if($_POST['country']=='VE') echo $sel ?>>Venezuela</option>
  239. <option value="VN" <?PHP if($_POST['country']=='VN') echo $sel ?>>Vietnam</option>
  240. <option value="VG" <?PHP if($_POST['country']=='VG') echo $sel ?>>Virgin Islands (British)</option>
  241. <option value="VI" <?PHP if($_POST['country']=='VI') echo $sel ?>>Virgin Islands (US)</option>
  242. <option value="WF" <?PHP if($_POST['country']=='WF') echo $sel ?>>Wallis And Futuna Islands</option>
  243. <option value="EH" <?PHP if($_POST['country']=='EH') echo $sel ?>>Western Sahara</option>
  244. <option value="YE" <?PHP if($_POST['country']=='YE') echo $sel ?>>Yemen Arab Rep.</option>
  245. <option value="YD" <?PHP if($_POST['country']=='YD') echo $sel ?>>Yemen Democratic</option>
  246. <option value="YU" <?PHP if($_POST['country']=='YU') echo $sel ?>>Yugoslavia</option>
  247. <option value="ZR" <?PHP if($_POST['country']=='ZR') echo $sel ?>>Zaire</option>
  248. <option value="ZM" <?PHP if($_POST['country']=='ZM') echo $sel ?>>Zambia</option>
  249. <option value="ZW" <?PHP if($_POST['country']=='ZW') echo $sel ?>>Zimbabwe</option>
  250. </select>

Report this snippet


RSS Icon Subscribe to comments

You need to login to post a comment.