State and Province Array


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



Copy this code and paste it in your HTML
  1. $state_arr = array( "initial_value" => " - Select Province/State - ",
  2. "AB" => "Alberta",
  3. "BC" => "British Columbia",
  4. "MB" => "Manitoba",
  5. "NB" => "New Burnswick",
  6. "NL" => "Newfoundland and Labrador",
  7. "NS" => "Nova Scotia",
  8. "NT" => "Northwest Territories",
  9. "NU" => "Nunavut",
  10. "ON" => "Ontario",
  11. "PE" => "Prince Edward Island",
  12. "QC" => "Quebec",
  13. "SK" => "Saskatchewan",
  14. "YT" => "Yukon",
  15. "divider" => "---------------",
  16. "AL" => "Alabama",
  17. "AK" => "Alaska",
  18. "AZ" => "Arizona",
  19. "AR" => "Arkansas",
  20. "CA" => "California",
  21. "CO" => "Colorado",
  22. "CT" => "Connecticut",
  23. "DE" => "Delaware",
  24. "DC" => "District of Columbia",
  25. "FL" => "Florida",
  26. "GA" => "Georgia",
  27. "HI" => "Hawaii",
  28. "ID" => "Idaho",
  29. "IL" => "Illinois",
  30. "IN" => "Indiana",
  31. "IA" => "Iowa",
  32. "KS" => "Kansas",
  33. "KY" => "Kentucky",
  34. "LA" => "Louisiana",
  35. "ME" => "Maine",
  36. "MD" => "Maryland",
  37. "MA" => "Massachusetts",
  38. "MI" => "Michigan",
  39. "MN" => "Minnesota",
  40. "MS" => "Mississippi",
  41. "MO" => "Missouri",
  42. "MT" => "Montana",
  43. "NE" => "Nebraska",
  44. "NV" => "Nevada",
  45. "NH" => "New Hampshire",
  46. "NJ" => "New Jersey",
  47. "NM" => "New Mexico",
  48. "NY" => "New York",
  49. "NC" => "North Carolina",
  50. "ND" => "North Dakota",
  51. "OH" => "Ohio",
  52. "OK" => "Oklahoma",
  53. "OR" => "Oregon",
  54. "PA" => "Pennsylvania",
  55. "RI" => "Rhode Island",
  56. "SC" => "South Carolina",
  57. "SD" => "South Dakota",
  58. "TN" => "Tennessee",
  59. "TX" => "Texas",
  60. "UT" => "Utah",
  61. "VT" => "Vermont",
  62. "VA" => "Virginia",
  63. "WA" => "Washington",
  64. "WV" => "West Virginia",
  65. "WI" => "Wisconsin",
  66. "WY" => "Wyoming");

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.