PHP Array Of Canadian States
Thu, 04/23/2009 - 12:42 | by philipnorton42
Use the following array to print out a list of Canadian states, also know as provinces.
$canadian_states = array(
"BC"=>"British Columbia",
"ON"=>"Ontario",
"NL"=>"Newfoundland and Labrador",
"NS"=>"Nova Scotia",
"PE"=>"Prince Edward Island",
"NB"=>"New Brunswick",
"QC"=>"Quebec",
"MB"=>"Manitoba",
"SK"=>"Saskatchewan",
"AB"=>"Alberta",
"NT"=>"Northwest Territories",
"NU"=>"Nunavut"
"YT"=>"Yukon Territory");
Here is the same array, but with the French versions of the states.
$canadian_states = array(
"AB"=>"Alberta"
"BC"=>"Colombie-Britannique"
"MB"=>"Manitoba"
"NB"=>"Nouveau-Brunswick"
"NL"=>"Terre-Neuve-et-Labrador"
"NS"=>"Nouvelle-Écosse"
"NT"=>"Territoires du Nord-Ouest"
"NU"=>"Nunavut"
"ON"=>"Ontario"
"PE"=>"Île-du-Prince-Édouard"
"QC"=>"Québec"
"SK"=>"Saskatchewan"
"YT"=>"Yukon");
Comments
Some corrections for your
Thanks for the info and the
Post new comment