title: Remembering the selected option after page refreshed
body: <p>I have a form that gets from the user min size and max size of a shoe and prints on the same page by POST method all of the shoes with this size range.</p>
  
  <p>The form action is leading to the same page so the page is kinda refreshed and gets new values for the POST's variables.</p>
  
  <p>My problem is that the default select option (for example)</p>
  
  <pre><code>&lt;option value="49.0" selected="selected"&gt;49.0&lt;/option&gt;
  </code></pre>
  
  <p>is still selected of course after page refreshed so it prints the results for X size but the option that is selected is 49.0</p>
  
  <p>My question is how can I change the default option to the one that the user choosed before he submited the form or in other words to $_POST['minSize'] and $_POST['maxSize']</p>