title: How to make a select list option selected
body: <p>I receive a variable from the mysql database named $option which in this case could be '1' or '2'. What is the correct PHP code to add the 'selected="selected"' code to $option 1 the corresponding option in the list?</p>
  
  <pre><code>&lt;select name="select-list"&gt;
  &lt;option value='1'&gt;option 1&lt;/option&gt;
  &lt;option value='2'&gt;option 1&lt;/option&gt;             
  &lt;/select&gt;
  </code></pre>