Every now and again I find myself needing an html drop down list of US States. I always go hunting around on other people’s forms, and always find lots, but people tend to make them differently, with abbrevs and full names in a variety of positions. Today I got tired of doing that and made my own array, from which I can make whatever I need at the time. And for those of you who may need the same thing, I print it here for you. It’s generic enough that it could easily be used in any language.
$states = array(