<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en-GB"><title>Comments on UK Counties Select Box - AddedBytes.com</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/" /><link rel="self" type="application/xml" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/atom/" /><subtitle>Latest comments on UK Counties Select Box on AddedBytes.com</subtitle><author><name>Dave Child</name></author><updated>2004-02-15T14:34:00Z</updated><id>tag:addedbytes.com,2004:43</id><!-- ckey="76C662BB" --><entry><title>Comment on UK Counties Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/" /><summary type="text">Comment by John ( &lt;a href="http://web-bristol.com"&gt;http://web-bristol.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I am VERY grateful for this code. I DO appreciate all free stuff, after all it takes time and effort to do this stuff. I don't mean to bring any negative comments here, just to add some input. I live in Bristol, used to be in the county of Avon, now it's called the county of Bristol. Neither of which is in the above code, maybe tis a full time job keeping abreast of all the changing county lines across the UK. Thanks for the code though.</summary><id>tag:addedbytes.com,2008:105918</id><published>2008-10-26T15:43:17+00:00</published><updated>2008-10-26T15:43:17Z</updated></entry><entry><title>Comment on UK Counties Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/" /><summary type="text">Comment by Robin ( &lt;a href="http://www.1steuropeanholidays.com"&gt;http://www.1steuropeanholidays.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;How lucky am I to find this page! I was just looking for something similar for a directory of self catering and bed and breakfast property that I am working on, and was getting confused with all the different lists I was finding. This one - the updated version seems to be the most accurate I list have found.</summary><id>tag:addedbytes.com,2008:104090</id><published>2008-09-01T15:58:48+01:00</published><updated>2008-09-01T15:58:48Z</updated></entry><entry><title>Comment on UK Counties Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/" /><summary type="text">Comment by Henry ( &lt;a href="http://www.jroller.com/evans"&gt;http://www.jroller.com/evans&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Thanks for the code, it will come in handy someday.&lt;br /&gt;
Cheers</summary><id>tag:addedbytes.com,2008:99308</id><published>2008-07-20T11:22:48+01:00</published><updated>2008-07-20T11:22:48Z</updated></entry><entry><title>Comment on UK Counties Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/" /><summary type="text">Comment by Evans ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Thanks Adrian for the script, running your script produced something like this when the HTML page source is viewed:&lt;br /&gt;
&lt;br /&gt;
&lt;select name=&quot;ud_county&quot;&gt;&lt;option value=&quot;. Aberdeenshire .&quot;&gt;Aberdeenshire&lt;/option&gt;;/n&lt;option value=&quot;.  Anglesey .&quot;&gt; &lt;br /&gt;
&lt;br /&gt;
Notice the . before and after the values?&lt;br /&gt;
&lt;br /&gt;
So, I've modified it to remove the dots and properly format the output:&lt;br /&gt;
&lt;br /&gt;
&lt;?php&lt;br /&gt;
echo &quot;&lt;select name=\&quot;ud_county\&quot;&gt;\n&quot;;&lt;br /&gt;
&lt;br /&gt;
// foreach example - loop through each entry in an array&lt;br /&gt;
$ukcounties = array(&quot;Aberdeenshire&quot;,&quot;Anglesey&quot;,&quot;Angus&quot;,&quot;Antrim&quot;,&lt;br /&gt;
&quot;Argyllshire&quot;,&quot;Armagh&quot;,&quot;Ayrshire&quot;,&quot;Banffshire&quot;,&lt;br /&gt;
&quot;Bedfordshire&quot;,&quot;Berkshire&quot;,&quot;Berwickshire&quot;,&quot;Brecknockshire&quot;,&lt;br /&gt;
&quot;Buckinghamshire&quot;,&quot;Buteshire&quot;,&quot;Caernarfonshire&quot;,&lt;br /&gt;
&quot;Caithness&quot;,&quot;Cambridgeshire&quot;,&quot;Cardiganshire&quot;,&lt;br /&gt;
&quot;Carmarthenshire&quot;,&quot;Cheshire&quot;,&quot;Clackmannanshire&quot;,&lt;br /&gt;
&quot;Cornwall&quot;,&quot;Cromartyshire&quot;,&quot;Cumberland&quot;,&lt;br /&gt;
&quot;Denbighshire&quot;,&quot;Derbyshire&quot;,&quot;Devon&quot;,&quot;Dorset&quot;,&quot;Down&quot;,&lt;br /&gt;
&quot;Dumfriesshire&quot;,&quot;Dunbartonshire&quot;,&quot;Durham&quot;,&quot;East Lothian&quot;,&quot;Essex&quot;,&quot;Fermanagh&quot;,&quot;Fife&quot;,&quot;Flintshire&quot;,&lt;br /&gt;
&quot;Glamorgan&quot;,&quot;Gloucestershire&quot;,&quot;Hampshire&quot;,&lt;br /&gt;
&quot;Herefordshire&quot;,&quot;Hertfordshire&quot;,&quot;Huntingdonshire&quot;,&lt;br /&gt;
&quot;Inverness-shire&quot;,&quot;Kent&quot;,&quot;Kincardineshire&quot;,&quot;Kinross&quot;,&lt;br /&gt;
&quot;Kirkcudbrightshire&quot;,&quot;Lanarkshire&quot;,&quot;Lancashire&quot;,&lt;br /&gt;
&quot;Leicestershire&quot;,&quot;Lincolnshire&quot;,&quot;Londonderry&quot;,&lt;br /&gt;
&quot;Merioneth&quot;,&quot;Middlesex&quot;,&quot;Midlothian&quot;,&quot;Monmouthshire&quot;,&lt;br /&gt;
&quot;Montgomeryshire&quot;,&quot;Morayshire&quot;,&quot;Nairnshire&quot;,&quot;Norfolk&quot;,&lt;br /&gt;
&quot;Northamptonshire&quot;,&quot;Northumberland&quot;,&lt;br /&gt;
&quot;Nottinghamshire&quot;,&quot;Orkney&quot;,&quot;Oxfordshire&quot;,&lt;br /&gt;
&quot;Pembrokeshire&quot;,&quot;Peeblesshire&quot;,&quot;Perthshire&quot;,&lt;br /&gt;
&quot;Radnorshire&quot;,&quot;Renfrewshire&quot;,&quot;Ross-shire&quot;,&lt;br /&gt;
&quot;Roxburghshire&quot;,&quot;Rutland&quot;,&quot;Selkirkshire&quot;,&quot;Shetland&quot;,&lt;br /&gt;
&quot;Shropshire&quot;,&quot;Somerset&quot;,&quot;Staffordshire&quot;,&quot;Stirlingshire&quot;,&lt;br /&gt;
&quot;Suffolk&quot;,&quot;Surrey&quot;,&quot;Sussex&quot;,&quot;Sutherland&quot;,&quot;Tyrone&quot;,&lt;br /&gt;
&quot;Warwickshire&quot;,&quot;West Lothian&quot;,&quot;Westmorland&quot;,&quot;Wigtownshire&quot;,&quot;Wiltshire&quot;,&lt;br /&gt;
&quot;Worcestershire&quot;,&quot;Yorkshire&quot;);&lt;br /&gt;
foreach ( $ukcounties AS $elements )&lt;br /&gt;
{&lt;br /&gt;
print &quot;&lt;option value=\&quot;$elements\&quot;&gt;&quot;. $elements .&quot;&lt;/option&gt;;\n&quot;;&lt;br /&gt;
}&lt;br /&gt;
echo &quot;&lt;/select&gt;&quot;;&lt;br /&gt;
?&gt;&lt;br /&gt;
&lt;br /&gt;
Thanks guys,&lt;br /&gt;
Nice job.</summary><id>tag:addedbytes.com,2008:96400</id><published>2008-06-01T14:45:27+01:00</published><updated>2008-06-01T14:45:27Z</updated></entry><entry><title>Comment on UK Counties Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/" /><summary type="text">Comment by Dave Child ( &lt;a href="http://www.addedbytes.com"&gt;http://www.addedbytes.com&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;I've updated the list to use a more recent list of English counties (as defined by the Lieutenancies Act 1997, which would seem to be appropriate). Some of the missing ones above are now in the list, and others, it seems, should not be. Anyway, at least London is now listed properly!</summary><id>tag:addedbytes.com,2008:81404</id><published>2008-03-08T09:01:56+00:00</published><updated>2008-03-08T09:01:56Z</updated></entry><entry><title>Comment on UK Counties Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/" /><summary type="text">Comment by Nathan H ( &lt;a href=""&gt;&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;All all versions &quot;Tyne &amp; Wear&quot; is missing.&lt;br /&gt;Thought i'd let you all know for future reference.&lt;br /&gt;&lt;br /&gt;The county does exist I have lived there for 30 years!!!!&lt;br /&gt;&lt;br /&gt;A great list none the less, thank you&lt;br /&gt;&lt;br /&gt;&lt;---------------------&lt;br /&gt;&lt;br /&gt;(Don't know why my location on the Left states USA i'm in the UK?</summary><id>tag:addedbytes.com,2008:78526</id><published>2008-02-23T22:44:21+00:00</published><updated>2008-02-23T22:44:21Z</updated></entry><entry><title>Comment on UK Counties Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/" /><summary type="text">Comment by ChrisH ( &lt;a href="http://www.tree-care.info/"&gt;http://www.tree-care.info/&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Defining what should be in a list of counties these days is not straightforward. Administratively, most large conurbations do not have a county level. For example, Nottingham is a unitary authority that is not, administratively, within Nottinghamshire. Probably the most useful definition to use, in England at least, is the ceremonial counties.&lt;br /&gt;&lt;br /&gt;This list appears to be a pre 1974 list of counties. For example, Westmorland hasn't existed since 1974 and Yorkshire was split into four then. Huntingdonshire is no longer a county (Huntingdon is a district within Cambridgeshire), and I'm not sure it has been since 1965. &lt;br /&gt;&lt;br /&gt;The list's biggest problem is that the areas missing from  it tend to be those in which the population is concentrated, so a lot of people will be unable to find something to match themselves. Greater London, West Midlands, Merseyside, Greater Manchester, Tyne and Wear and Bristol for example.</summary><id>tag:addedbytes.com,2008:71994</id><published>2008-01-20T16:58:01+00:00</published><updated>2008-01-20T16:58:01Z</updated></entry><entry><title>Comment on UK Counties Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/" /><summary type="text">Comment by Adrian ( &lt;a href="http://www.gnulinux.co.uk"&gt;http://www.gnulinux.co.uk&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;Here is a php version using a foreach loop&lt;br /&gt;&lt;br /&gt;&lt;?php&lt;br /&gt;echo &quot;&lt;select name=\&quot;ud_county\&quot;&gt;&quot;;&lt;br /&gt;&lt;br /&gt;// foreach example - loop through each entry in an array&lt;br /&gt;$ukcounties = array(&quot;Aberdeenshire&quot;,&quot; Anglesey&quot;,&quot; Angus&quot;,&quot; Antrim&quot;,&quot; Argyllshire&quot;,&quot; Armagh&quot;,&quot; Ayrshire&quot;,&quot; Banffshire&quot;,&quot; Bedfordshire&quot;,&quot; Berkshire&quot;,&quot; Berwickshire&quot;,&quot; Brecknockshire&quot;,&quot; Buckinghamshire&quot;,&quot; Buteshire&quot;,&quot; Caernarfonshire&quot;,&quot; Caithness&quot;,&quot; Cambridgeshire&quot;,&quot; Cardiganshire&quot;,&quot; Carmarthenshire&quot;,&quot; Cheshire&quot;,&quot; Clackmannanshire&quot;,&quot; Cornwall&quot;,&quot; Cromartyshire&quot;,&quot; Cumberland&quot;,&quot; Denbighshire&quot;,&quot; Derbyshire&quot;,&quot; Devon&quot;,&quot; Dorset&quot;,&quot; Down&quot;,&quot; Dumfriesshire&quot;,&quot; Dunbartonshire&quot;,&quot; Durham&quot;,&quot; East Lothian&quot;,&quot; Essex&quot;,&quot; Fermanagh&quot;,&quot; Fife&quot;,&quot; Flintshire&quot;,&quot; Glamorgan&quot;,&quot; Gloucestershire&quot;,&quot; Hampshire&quot;,&quot; Herefordshire&quot;,&quot; Hertfordshire&quot;,&quot; Huntingdonshire&quot;,&quot; Inverness-shire&quot;,&quot; Kent&quot;,&quot; Kincardineshire&quot;,&quot; Kinross&quot;,&quot; Kirkcudbrightshire&quot;,&quot; Lanarkshire&quot;,&quot; Lancashire&quot;,&quot; Leicestershire&quot;,&quot; Lincolnshire&quot;,&quot; Londonderry&quot;,&quot; Merioneth&quot;,&quot; Middlesex&quot;,&quot; Midlothian&quot;,&quot; Monmouthshire&quot;,&quot; Montgomeryshire&quot;,&quot; Morayshire&quot;,&quot; Nairnshire&quot;,&quot; Norfolk&quot;,&quot; Northamptonshire&quot;,&quot; Northumberland&quot;,&quot; Nottinghamshire&quot;,&quot; Orkney&quot;,&quot; Oxfordshire&quot;,&quot; Pembrokeshire&quot;,&quot; Peeblesshire&quot;,&quot; Perthshire&quot;,&quot; Radnorshire&quot;,&quot; Renfrewshire&quot;,&quot; Ross-shire&quot;,&quot; Roxburghshire&quot;,&quot; Rutland&quot;,&quot; Selkirkshire&quot;,&quot; Shetland&quot;,&quot; Shropshire&quot;,&quot; Somerset&quot;,&quot; Staffordshire&quot;,&quot; Stirlingshire&quot;,&quot; Suffolk&quot;,&quot; Surrey&quot;,&quot; Sussex&quot;,&quot; Sutherland&quot;,&quot; Tyrone&quot;,&quot; Warwickshire&quot;,&quot; West Lothian&quot;,&quot; Westmorland&quot;,&quot; Wigtownshire&quot;,&quot; Wiltshire&quot;,&quot; Worcestershire&quot;,&quot; Yorkshire&quot;);&lt;br /&gt;foreach ( $ukcounties AS $elements )&lt;br /&gt;{&lt;br /&gt;print &quot;&lt;option value=\&quot;. $elements .\&quot;&gt;&quot;. $elements .&quot;&lt;/option&gt;;/n&quot;;&lt;br /&gt;}&lt;br /&gt;echo &quot;&lt;/select&gt;&quot;;&lt;br /&gt;?&gt;</summary><id>tag:addedbytes.com,2008:71436</id><published>2008-01-15T09:57:17+00:00</published><updated>2008-01-15T09:57:17Z</updated></entry><entry><title>Comment on UK Counties Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/" /><summary type="text">Comment by Martin Callaghan ( &lt;a href="http://www.leggott.ac.uk/"&gt;http://www.leggott.ac.uk/&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;An invaluable and fantastic resource for all our combo box needs! I recommended this to all my students!</summary><id>tag:addedbytes.com,2008:71361</id><published>2008-01-14T11:22:25+00:00</published><updated>2008-01-14T11:22:25Z</updated></entry><entry><title>Comment on UK Counties Select Box</title><link rel="alternate" type="text/html" href="http://www.addedbytes.com/article/uk-counties-select-box/comments/" /><summary type="text">Comment by aledrees ( &lt;a href="http://www.jigsaw-webdesign.co.uk"&gt;http://www.jigsaw-webdesign.co.uk&lt;/a&gt; )&lt;br /&gt;&lt;br /&gt;A fantastic bit of free information:&lt;br /&gt;&lt;br /&gt;This took some time and is incredibly useful. Thank you very, very much.&lt;br /&gt;&lt;br /&gt;Aled :)</summary><id>tag:addedbytes.com,2007:69063</id><published>2007-12-31T00:53:04+00:00</published><updated>2007-12-31T00:53:04Z</updated></entry></feed>