-
-
Save schuyberg/55b82e170d5d6dcc3000f0ee9ca8ec45 to your computer and use it in GitHub Desktop.
PHP array for states and Provinces in Canada and the US
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$provinces = array(0 => 'Alberta', | |
1 => 'British Columbia', | |
2 => 'Manitoba', | |
3 => 'New Brunswick', | |
4 => 'Newfoundland and Labrador', | |
5 => 'Northwest Territories', | |
6 => 'Nova Scotia', | |
7 => 'Nunavut', | |
8 => 'Ontario', | |
9 => 'Prince Edward Island', | |
10 => 'Québec', | |
11 => 'Saskatchewan', | |
12 => 'Yukon'); | |
$states = array(0 => 'Alabama', | |
1 => 'Alaska', | |
2 => 'Arizona', | |
3 => 'Arkansas', | |
4 => 'California', | |
5 => 'Colorado', | |
6 => 'Connecticut', | |
7 => 'Delaware', | |
8 => 'Florida', | |
9 => 'Georgia', | |
10 => 'Hawaii', | |
11 => 'Idaho', | |
12 => 'Illinois', | |
13 => 'Indiana', | |
14 => 'Iowa', | |
15 => 'Kansas', | |
16 => 'Kentucky', | |
17 => 'Louisiana', | |
18 => 'Maine', | |
19 => 'Maryland', | |
20 => 'Massachusetts', | |
21 => 'Michigan', | |
22 => 'Minnesota', | |
23 => 'Mississippi', | |
24 => 'Missouri', | |
25 => 'Montana', | |
26 => 'Nebraska', | |
27 => 'Nevada', | |
28 => 'New Hampshire', | |
29 => 'New Jersey', | |
30 => 'New Mexico', | |
31 => 'New York', | |
32 => 'North Carolina', | |
33 => 'North Dakota', | |
34 => 'Ohio', | |
35 => 'Oklahoma', | |
36 => 'Oregon', | |
37 => 'Pennsylvania', | |
38 => 'Rhode Island', | |
39 => 'South Carolina', | |
40 => 'South Dakota', | |
41 => 'Tennessee', | |
42 => 'Texas', | |
43 => 'Utah', | |
44 => 'Vermont', | |
45 => 'Virginia', | |
46 => 'Washington', | |
47 => 'West Virginia', | |
48 => 'Wisconsin', | |
49 => 'Wyoming'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment