Daevid Vincent <mailto:daevid@xxxxxxxxxx> on Thursday, August 17, 2006 12:58 PM said: > B/c I'm too busy (and lazy) to hand type it all in, wondering if > someone has an array of state abbreviations to names like so... > > $states = array( > ... > 'NY' => 'New York', > 'WA' => 'Washington', > ... > ); HERE LAZY! $GLOBALS['usps_states_list'] = array( 0 => array('name'=>'Alaska','code'=>'AK','contiguous'=>true), 1 => array('name'=>'Alabama','code'=>'AL','contiguous'=>true), 2 => array('name'=>'American Samoa','code'=>'AS','contiguous'=>false), 3 => array('name'=>'Arizona','code'=>'AZ','contiguous'=>true), 4 => array('name'=>'Arkansas','code'=>'AR','contiguous'=>true), 5 => array('name'=>'California','code'=>'CA','contiguous'=>true), 6 => array('name'=>'Colorado','code'=>'CO','contiguous'=>true), 7 => array('name'=>'Connecticut','code'=>'CT','contiguous'=>true), 8 => array('name'=>'Delaware','code'=>'DE','contiguous'=>true), 9 => array('name'=>'District of Columbia','code'=>'DC','contiguous'=>true), 10 => array('name'=>'Federated States of Micronesia','code'=>'FM','contiguous'=>false), 11 => array('name'=>'Florida','code'=>'FL','contiguous'=>true), 12 => array('name'=>'Georgia','code'=>'GA','contiguous'=>true), 13 => array('name'=>'Guam','code'=>'GU','contiguous'=>false), 14 => array('name'=>'Hawaii','code'=>'HI','contiguous'=>false), 15 => array('name'=>'Idaho','code'=>'ID','contiguous'=>true), 16 => array('name'=>'Illinois','code'=>'IL','contiguous'=>true), 17 => array('name'=>'Indiana','code'=>'IN','contiguous'=>true), 18 => array('name'=>'Iowa','code'=>'IA','contiguous'=>true), 19 => array('name'=>'Kansas','code'=>'KS','contiguous'=>true), 10 => array('name'=>'Kentucky','code'=>'KY','contiguous'=>true), 21 => array('name'=>'Louisiana','code'=>'LA','contiguous'=>true), 22 => array('name'=>'Maine','code'=>'ME','contiguous'=>true), 23 => array('name'=>'Marshall Islands','code'=>'MH','contiguous'=>false), 24 => array('name'=>'Maryland','code'=>'MD','contiguous'=>true), 25 => array('name'=>'Massachusetts','code'=>'MA','contiguous'=>true), 26 => array('name'=>'Michigan','code'=>'MI','contiguous'=>true), 27 => array('name'=>'Minnesota','code'=>'MN','contiguous'=>true), 28 => array('name'=>'Mississippi','code'=>'MS','contiguous'=>true), 29 => array('name'=>'Missouri','code'=>'MO','contiguous'=>true), 30 => array('name'=>'Montana','code'=>'MT','contiguous'=>true), 31 => array('name'=>'Nebraska','code'=>'NE','contiguous'=>true), 32 => array('name'=>'Nevada','code'=>'NV','contiguous'=>true), 33 => array('name'=>'New Hampshire','code'=>'NH','contiguous'=>true), 34 => array('name'=>'New Jersey','code'=>'NJ','contiguous'=>true), 35 => array('name'=>'New Mexico','code'=>'NM','contiguous'=>true), 36 => array('name'=>'New York','code'=>'NY','contiguous'=>true), 37 => array('name'=>'North Carolina','code'=>'NC','contiguous'=>true), 38 => array('name'=>'North Dakota','code'=>'ND','contiguous'=>true), 39 => array('name'=>'Northern Mariana Islands','code'=>'MP','contiguous'=>false), 40 => array('name'=>'Ohio','code'=>'OH','contiguous'=>true), 41 => array('name'=>'Oklahoma','code'=>'OK','contiguous'=>true), 42 => array('name'=>'Oregon','code'=>'OR','contiguous'=>true), 43 => array('name'=>'Palau','code'=>'PW','contiguous'=>false), 44 => array('name'=>'Pennsylvania','code'=>'PA','contiguous'=>true), 45 => array('name'=>'Puerto Rico','code'=>'PR','contiguous'=>false), 46 => array('name'=>'Rhode Island','code'=>'RI','contiguous'=>true), 47 => array('name'=>'South Carolina','code'=>'SC','contiguous'=>true), 48 => array('name'=>'South Dakota','code'=>'SD','contiguous'=>true), 49 => array('name'=>'Tennessee','code'=>'TN','contiguous'=>true), 50 => array('name'=>'Texas','code'=>'TX','contiguous'=>true), 51 => array('name'=>'Utah','code'=>'UT','contiguous'=>true), 52 => array('name'=>'Vermont','code'=>'VT','contiguous'=>true), 53 => array('name'=>'Virgin Islands','code'=>'VI','contiguous'=>false), 54 => array('name'=>'Virginia','code'=>'VA','contiguous'=>true), 55 => array('name'=>'Washington','code'=>'WA','contiguous'=>true), 56 => array('name'=>'West Virginia','code'=>'WV','contiguous'=>true), 57 => array('name'=>'Wisconsin','code'=>'WI','contiguous'=>true), 58 => array('name'=>'Wyoming','code'=>'WY','contiguous'=>true), 59 => array('name'=>'Armed Forces Africa','code'=>'AE','contiguous'=>false), 60 => array('name'=>'Armed Forces Americas (except Canada)','code'=>'AA','contiguous'=>false), 61 => array('name'=>'Armed Forces Canada','code'=>'AE','contiguous'=>false), 62 => array('name'=>'Armed Forces Europe','code'=>'AE','contiguous'=>false), 63 => array('name'=>'Armed Forces Middle East','code'=>'AE','contiguous'=>false), 64 => array('name'=>'Armed Forces Pacific','code'=>'AP','contiguous'=>false)); Please send me a check $250. Thanks! Chris. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php