PHP Option Dropdown set Option to One Stored in DB
<p>I have a PHP form which I use to edit a record in the MySQL data base and it has a drop down list of values I would like to set the option that is held in the database to be the first one in the list so that if the user doesn't want to change the option then the database will not get overwritten with the default option</p>

<p>Can any one suggest a really simple solution?</p>

<p>Based on comment I do need help with the ability to set the selected value my HTML select</p>

<pre><code>&lt;select id="inputRegion" name="inputRegion"&gt;
&lt;option name="inputRegion" id="inputRegion" value="Scotland"&gt;Scotland&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="North West"&gt;North West&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="North East"&gt;North East&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="Yorkshire and Humberside"&gt;Yorkshire &amp; Humberside&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="East Midlands"&gt;East Midlands&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="East Anglia"&gt;East Anglia&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="London"&gt;London&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="South East"&gt;South East&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="South West"&gt;South West&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="Wales"&gt;Wales&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="West Midlands"&gt;West Midlands&lt;/option&gt;
&lt;option name="inputRegion" id="inputRegion" value="Northern Ireland"&gt;Northern Ireland&lt;/option&gt;
&lt;/select&gt;
</code></pre>

<p>My php comes from a query and then can get the current record's region using;</p>

<pre><code>&lt;?php echo $contact['Region']; ?&gt;
</code></pre>
