Skip to content

Instantly share code, notes, and snippets.

@djekl
Created April 2, 2013 11:36
Show Gist options
  • Save djekl/5291592 to your computer and use it in GitHub Desktop.
Save djekl/5291592 to your computer and use it in GitHub Desktop.
County Array for the UK
$aCounty = array(
"England" => array(
"Avon",
"Bedfordshire",
"Berkshire",
"Borders",
"Bristol",
"Buckinghamshire",
"Cambridgeshire",
"Channel Islands",
"Cheshire",
"Cleveland",
"Cornwall",
"Cumbria",
"Derbyshire",
"Devon",
"Dorset",
"Durham",
"East Riding of Yorkshire",
"East Sussex",
"Essex",
"Gloucestershire",
"Greater Manchester",
"Hampshire",
"Herefordshire",
"Hertfordshire",
"Humberside",
"Isle of Man",
"Isle of Wight",
"Isles of Scilly",
"Kent",
"Lancashire",
"Leicestershire",
"Lincolnshire",
"London",
"Merseyside",
"Middlesex",
"Norfolk",
"North Yorkshire",
"Northamptonshire",
"Northumberland",
"Nottinghamshire",
"Oxfordshire",
"Rutland",
"Shropshire",
"Somerset",
"South Yorkshire",
"Staffordshire",
"Suffolk",
"Surrey",
"Tyne and Wear",
"Warwickshire",
"West Midlands",
"West Sussex",
"West Yorkshire",
"Wiltshire",
"Worcestershire",
),
"Wales" => array(
"Blaenau Gwent",
"Bridgend",
"Caerphilly",
"Cardiff",
"Ceredigion",
"Conwy",
"Denbighshire",
"Flintshire",
"Gwynedd",
"Isle of Anglesey",
"Merthyr Tydfil",
"Monmouthshire",
"Neath Port Talbot",
"Newport",
"Pembrokeshire",
"Powys",
"Rhondda Cynon Taff",
"Swansea",
"The Vale of Glamorgan",
"Torfaen",
"Wrexham",
),
"Scotland" => array(
"Aberdeen City",
"Aberdeenshire",
"Angus",
"Argyll and Bute",
"Armagh",
"Carmarthenshire",
"Clackmannan",
"Dumfries and Galloway",
"East Ayrshire",
"East Dunbartonshire",
"East Lothian",
"East Renfrewshire",
"Edinburgh City",
"Falkirk",
"Fife",
"Glasgow",
"Highland",
"Inverclyde",
"Midlothian",
"Moray",
"North Ayrshire",
"North Lanarkshire",
"Orkney",
"Perthshire and Kinross",
"Renfrewshire",
"Roxburghshire",
"Shetland",
"South Ayrshire",
"South Lanarkshire",
"Stirling",
"West Dunbartonshire",
"West Lothian",
"Western Isles",
),
"Northern Ireland" => array(
"Antrim",
"Down",
"Fermanagh",
"Londonderry",
"Tyrone",
),
"Other" => array(
"No county/other",
),
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment