Skip to content

Instantly share code, notes, and snippets.

@stevelacey
Created April 18, 2012 08:45
Show Gist options
  • Save stevelacey/2412108 to your computer and use it in GitHub Desktop.
Save stevelacey/2412108 to your computer and use it in GitHub Desktop.
UK Counties Array
<?php
// Source: http://www.carronmedia.com/uk-postal-counties-list
array(
'England' => array(
'Avon',
'Bedfordshire',
'Berkshire',
'Buckinghamshire',
'Cambridgeshire',
'Cheshire',
'Cleveland',
'Cornwall',
'Cumbria',
'Derbyshire',
'Devon',
'Dorset',
'Durham',
'East Sussex',
'Essex',
'Gloucestershire',
'Hampshire',
'Herefordshire',
'Hertfordshire',
'Isle of Wight',
'Kent',
'Lancashire',
'Leicestershire',
'Lincolnshire',
'London',
'Merseyside',
'Middlesex',
'Norfolk',
'Northamptonshire',
'Northumberland',
'North Humberside',
'North Yorkshire',
'Nottinghamshire',
'Oxfordshire',
'Rutland',
'Shropshire',
'Somerset',
'South Humberside',
'South Yorkshire',
'Staffordshire',
'Suffolk',
'Surrey',
'Tyne and Wear',
'Warwickshire',
'West Midlands',
'West Sussex',
'West Yorkshire',
'Wiltshire',
'Worcestershire'
),
'Wales' => array(
'Clwyd',
'Dyfed',
'Gwent',
'Gwynedd',
'Mid Glamorgan',
'Powys',
'South Glamorgan',
'West Glamorgan'
),
'Scotland' => array(
'Aberdeenshire',
'Angus',
'Argyll',
'Ayrshire',
'Banffshire',
'Berwickshire',
'Bute',
'Caithness',
'Clackmannanshire',
'Dumfriesshire',
'Dunbartonshire',
'East Lothian',
'Fife',
'Inverness-shire',
'Kincardineshire',
'Kinross-shire',
'Kirkcudbrightshire',
'Lanarkshire',
'Midlothian',
'Moray',
'Nairnshire',
'Orkney',
'Peeblesshire',
'Perthshire',
'Renfrewshire',
'Ross-shire',
'Roxburghshire',
'Selkirkshire',
'Shetland',
'Stirlingshire',
'Sutherland',
'West Lothian',
'Wigtownshire'
),
'Northern Ireland' => array(
'Antrim',
'Armagh',
'Down',
'Fermanagh',
'Londonderry',
'Tyrone'
)
);
@adriaferre
Copy link

<3

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment