drupal country select array


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



Copy this code and paste it in your HTML
  1. $options = array('United States' => 'United States',
  2. 'Canada' => 'Canada',
  3. 'United Kingdom' => 'United Kingdom',
  4. 'Ireland' => 'Ireland',
  5. 'Australia' => 'Australia',
  6. 'New Zealand' => 'New Zealand',
  7. 'null' => '-------------------',
  8. 'Afghanistan' => 'Afghanistan',
  9. 'Albania' => 'Albania',
  10. 'Algeria' => 'Algeria',
  11. 'American Samoa' => 'American Samoa',
  12. 'Andorra' => 'Andorra',
  13. 'Angola' => 'Angola',
  14. 'Anguilla' => 'Anguilla',
  15. 'Antarctica' => 'Antarctica',
  16. 'Antigua and Barbuda' => 'Antigua and Barbuda',
  17. 'Argentina' => 'Argentina',
  18. 'Armenia' => 'Armenia',
  19. 'Aruba' => 'Aruba',
  20. 'Australia' => 'Australia',
  21. 'Austria' => 'Austria',
  22. 'Azerbaijan' => 'Azerbaijan',
  23. 'Bahamas' => 'Bahamas',
  24. 'Bahrain' => 'Bahrain',
  25. 'Bangladesh' => 'Bangladesh',
  26. 'Barbados' => 'Barbados',
  27. 'Belarus' => 'Belarus',
  28. 'Belgium' => 'Belgium',
  29. 'Belize' => 'Belize',
  30. 'Benin' => 'Benin',
  31. 'Bermuda' => 'Bermuda',
  32. 'Bhutan' => 'Bhutan',
  33. 'Bolivia' => 'Bolivia',
  34. 'Bosnia and Herzegovina' => 'Bosnia and Herzegovina',
  35. 'Botswana' => 'Botswana',
  36. 'Bouvet Island' => 'Bouvet Island',
  37. 'Brazil' => 'Brazil',
  38. 'British Indian Ocean Territory' => 'British Indian Ocean Territory',
  39. 'Brunei Darussalam' => 'Brunei Darussalam',
  40. 'Bulgaria' => 'Bulgaria',
  41. 'Burkina Faso' => 'Burkina Faso',
  42. 'Burundi' => 'Burundi',
  43. 'Cambodia' => 'Cambodia',
  44. 'Cameroon' => 'Cameroon',
  45. 'Canada' => 'Canada',
  46. 'Cape Verde' => 'Cape Verde',
  47. 'Cayman Islands' => 'Cayman Islands',
  48. 'Central African Republic' => 'Central African Republic',
  49. 'Chad' => 'Chad',
  50. 'Chile' => 'Chile',
  51. 'China' => 'China',
  52. 'Christmas Island' => 'Christmas Island',
  53. 'Cocos (Keeling) Islands' => 'Cocos (Keeling) Islands',
  54. 'Colombia' => 'Colombia',
  55. 'Comoros' => 'Comoros',
  56. 'Congo' => 'Congo',
  57. 'Congo, The Democratic Republic of The' => 'Congo, The Democratic Republic of The',
  58. 'Cook Islands' => 'Cook Islands',
  59. 'Costa Rica' => 'Costa Rica',
  60. 'Cote D\'ivoire' => 'Cote D\'ivoire',
  61. 'Croatia' => 'Croatia',
  62. 'Cuba' => 'Cuba',
  63. 'Cyprus' => 'Cyprus',
  64. 'Czech Republic' => 'Czech Republic',
  65. 'Denmark' => 'Denmark',
  66. 'Djibouti' => 'Djibouti',
  67. 'Dominica' => 'Dominica',
  68. 'Dominican Republic' => 'Dominican Republic',
  69. 'Ecuador' => 'Ecuador',
  70. 'Egypt' => 'Egypt',
  71. 'El Salvador' => 'El Salvador',
  72. 'Equatorial Guinea' => 'Equatorial Guinea',
  73. 'Eritrea' => 'Eritrea',
  74. 'Estonia' => 'Estonia',
  75. 'Ethiopia' => 'Ethiopia',
  76. 'Falkland Islands (Malvinas)' => 'Falkland Islands (Malvinas)',
  77. 'Faroe Islands' => 'Faroe Islands',
  78. 'Fiji' => 'Fiji',
  79. 'Finland' => 'Finland',
  80. 'France' => 'France',
  81. 'French Guiana' => 'French Guiana',
  82. 'French Polynesia' => 'French Polynesia',
  83. 'French Southern Territories' => 'French Southern Territories',
  84. 'Gabon' => 'Gabon',
  85. 'Gambia' => 'Gambia',
  86. 'Georgia' => 'Georgia',
  87. 'Germany' => 'Germany',
  88. 'Ghana' => 'Ghana',
  89. 'Gibraltar' => 'Gibraltar',
  90. 'Greece' => 'Greece',
  91. 'Greenland' => 'Greenland',
  92. 'Grenada' => 'Grenada',
  93. 'Guadeloupe' => 'Guadeloupe',
  94. 'Guam' => 'Guam',
  95. 'Guatemala' => 'Guatemala',
  96. 'Guinea' => 'Guinea',
  97. 'Guinea-bissau' => 'Guinea-bissau',
  98. 'Guyana' => 'Guyana',
  99. 'Haiti' => 'Haiti',
  100. 'Heard Island and Mcdonald Islands' => 'Heard Island and Mcdonald Islands',
  101. 'Holy See (Vatican City State)' => 'Holy See (Vatican City State)',
  102. 'Honduras' => 'Honduras',
  103. 'Hong Kong' => 'Hong Kong',
  104. 'Hungary' => 'Hungary',
  105. 'Iceland' => 'Iceland',
  106. 'India' => 'India',
  107. 'Indonesia' => 'Indonesia',
  108. 'Iran, Islamic Republic of' => 'Iran, Islamic Republic of',
  109. 'Iraq' => 'Iraq',
  110. 'Ireland' => 'Ireland',
  111. 'Israel' => 'Israel',
  112. 'Italy' => 'Italy',
  113. 'Jamaica' => 'Jamaica',
  114. 'Japan' => 'Japan',
  115. 'Jordan' => 'Jordan',
  116. 'Kazakhstan' => 'Kazakhstan',
  117. 'Kenya' => 'Kenya',
  118. 'Kiribati' => 'Kiribati',
  119. 'Korea, Democratic People\'s Republic of' => 'Korea, Democratic People\'s Republic of',
  120. 'Korea, Republic of' => 'Korea, Republic of',
  121. 'Kuwait' => 'Kuwait',
  122. 'Kyrgyzstan' => 'Kyrgyzstan',
  123. 'Lao People\'s Democratic Republic' => 'Lao People\'s Democratic Republic',
  124. 'Latvia' => 'Latvia',
  125. 'Lebanon' => 'Lebanon',
  126. 'Lesotho' => 'Lesotho',
  127. 'Liberia' => 'Liberia',
  128. 'Libyan Arab Jamahiriya' => 'Libyan Arab Jamahiriya',
  129. 'Liechtenstein' => 'Liechtenstein',
  130. 'Lithuania' => 'Lithuania',
  131. 'Luxembourg' => 'Luxembourg',
  132. 'Macao' => 'Macao',
  133. 'Macedonia, The Former Yugoslav Republic of' => 'Macedonia, The Former Yugoslav Republic of',
  134. 'Madagascar' => 'Madagascar',
  135. 'Malawi' => 'Malawi',
  136. 'Malaysia' => 'Malaysia',
  137. 'Maldives' => 'Maldives',
  138. 'Mali' => 'Mali',
  139. 'Malta' => 'Malta',
  140. 'Marshall Islands' => 'Marshall Islands',
  141. 'Martinique' => 'Martinique',
  142. 'Mauritania' => 'Mauritania',
  143. 'Mauritius' => 'Mauritius',
  144. 'Mayotte' => 'Mayotte',
  145. 'Mexico' => 'Mexico',
  146. 'Micronesia, Federated States of' => 'Micronesia, Federated States of',
  147. 'Moldova, Republic of' => 'Moldova, Republic of',
  148. 'Monaco' => 'Monaco',
  149. 'Mongolia' => 'Mongolia',
  150. 'Montserrat' => 'Montserrat',
  151. 'Morocco' => 'Morocco',
  152. 'Mozambique' => 'Mozambique',
  153. 'Myanmar' => 'Myanmar',
  154. 'Namibia' => 'Namibia',
  155. 'Nauru' => 'Nauru',
  156. 'Nepal' => 'Nepal',
  157. 'Netherlands' => 'Netherlands',
  158. 'Netherlands Antilles' => 'Netherlands Antilles',
  159. 'New Caledonia' => 'New Caledonia',
  160. 'New Zealand' => 'New Zealand',
  161. 'Nicaragua' => 'Nicaragua',
  162. 'Niger' => 'Niger',
  163. 'Nigeria' => 'Nigeria',
  164. 'Niue' => 'Niue',
  165. 'Norfolk Island' => 'Norfolk Island',
  166. 'Northern Mariana Islands' => 'Northern Mariana Islands',
  167. 'Norway' => 'Norway',
  168. 'Oman' => 'Oman',
  169. 'Pakistan' => 'Pakistan',
  170. 'Palau' => 'Palau',
  171. 'Palestinian Territory, Occupied' => 'Palestinian Territory, Occupied',
  172. 'Panama' => 'Panama',
  173. 'Papua New Guinea' => 'Papua New Guinea',
  174. 'Paraguay' => 'Paraguay',
  175. 'Peru' => 'Peru',
  176. 'Philippines' => 'Philippines',
  177. 'Pitcairn' => 'Pitcairn',
  178. 'Poland' => 'Poland',
  179. 'Portugal' => 'Portugal',
  180. 'Puerto Rico' => 'Puerto Rico',
  181. 'Qatar' => 'Qatar',
  182. 'Reunion' => 'Reunion',
  183. 'Romania' => 'Romania',
  184. 'Russian Federation' => 'Russian Federation',
  185. 'Rwanda' => 'Rwanda',
  186. 'Saint Helena' => 'Saint Helena',
  187. 'Saint Kitts and Nevis' => 'Saint Kitts and Nevis',
  188. 'Saint Lucia' => 'Saint Lucia',
  189. 'Saint Pierre and Miquelon' => 'Saint Pierre and Miquelon',
  190. 'Saint Vincent and The Grenadines' => 'Saint Vincent and The Grenadines',
  191. 'Samoa' => 'Samoa',
  192. 'San Marino' => 'San Marino',
  193. 'Sao Tome and Principe' => 'Sao Tome and Principe',
  194. 'Saudi Arabia' => 'Saudi Arabia',
  195. 'Senegal' => 'Senegal',
  196. 'Serbia and Montenegro' => 'Serbia and Montenegro',
  197. 'Seychelles' => 'Seychelles',
  198. 'Sierra Leone' => 'Sierra Leone',
  199. 'Singapore' => 'Singapore',
  200. 'Slovakia' => 'Slovakia',
  201. 'Slovenia' => 'Slovenia',
  202. 'Solomon Islands' => 'Solomon Islands',
  203. 'Somalia' => 'Somalia',
  204. 'South Africa' => 'South Africa',
  205. 'South Georgia and The South Sandwich Islands' => 'South Georgia and The South Sandwich Islands',
  206. 'Spain' => 'Spain',
  207. 'Sri Lanka' => 'Sri Lanka',
  208. 'Sudan' => 'Sudan',
  209. 'Suriname' => 'Suriname',
  210. 'Svalbard and Jan Mayen' => 'Svalbard and Jan Mayen',
  211. 'Swaziland' => 'Swaziland',
  212. 'Sweden' => 'Sweden',
  213. 'Switzerland' => 'Switzerland',
  214. 'Syrian Arab Republic' => 'Syrian Arab Republic',
  215. 'Taiwan, Province of China' => 'Taiwan, Province of China',
  216. 'Tajikistan' => 'Tajikistan',
  217. 'Tanzania, United Republic of' => 'Tanzania, United Republic of',
  218. 'Thailand' => 'Thailand',
  219. 'Timor-leste' => 'Timor-leste',
  220. 'Togo' => 'Togo',
  221. 'Tokelau' => 'Tokelau',
  222. 'Tonga' => 'Tonga',
  223. 'Trinidad and Tobago' => 'Trinidad and Tobago',
  224. 'Tunisia' => 'Tunisia',
  225. 'Turkey' => 'Turkey',
  226. 'Turkmenistan' => 'Turkmenistan',
  227. 'Turks and Caicos Islands' => 'Turks and Caicos Islands',
  228. 'Tuvalu' => 'Tuvalu',
  229. 'Uganda' => 'Uganda',
  230. 'Ukraine' => 'Ukraine',
  231. 'United Arab Emirates' => 'United Arab Emirates',
  232. 'United Kingdom' => 'United Kingdom',
  233. 'United States' => 'United States',
  234. 'United States Minor Outlying Islands' => 'United States Minor Outlying Islands',
  235. 'Uruguay' => 'Uruguay',
  236. 'Uzbekistan' => 'Uzbekistan',
  237. 'Vanuatu' => 'Vanuatu',
  238. 'Venezuela' => 'Venezuela',
  239. 'Viet Nam' => 'Viet Nam',
  240. 'Virgin Islands, British' => 'Virgin Islands, British',
  241. 'Virgin Islands, U.S.' => 'Virgin Islands, U.S.',
  242. 'Wallis and Futuna' => 'Wallis and Futuna',
  243. 'Western Sahara' => 'Western Sahara',
  244. 'Yemen' => 'Yemen',
  245. 'Zambia' => 'Zambia',
  246. 'Zimbabwe' => 'Zimbabwe');

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.