UK counties, php array

Whilst making an update to the FAS Membership and Renewal System (MARS) I decided to add a drop down box for the list of counties, so that we can force people to pick one that is up-to-date… anyway, I created a php array of these and thought it might be handy for someone so they could just copy and paste it:

$listcounties = 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”, “Clwyd”, “Dyfed”, “Gwent”, “Gwynedd”, “Mid Glamorgan”, “Powys”, “South Glamorgan”, “West Glamorgan”, “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”,”Antrim”,”Armagh”,”Down”,”Fermanagh”,”Londonderry”,”Tyrone”);

Advertisements

One response to “UK counties, php array”

  1. Matt says :

    This is really helpful, thank you – I google’d it in the hope somebody had done it but didn’t think anybody actually would have – good times! 😀 Thanks!

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: