title: Keep values selected after form submission
body: <p>Consider:</p>
  
  <pre><code>&lt;form method="get" action=""&gt;
     &lt;select name="name"&gt;
        &lt;option value="a"&gt;a&lt;/option&gt;
        &lt;option value="b"&gt;b&lt;/option&gt;
     &lt;/select&gt;
     &lt;select name="location"&gt;
        &lt;option value="x"&gt;x&lt;/option&gt;
        &lt;option value="y"&gt;y&lt;/option&gt;
     &lt;/select&gt;
     &lt;input type="submit" value="Submit" class="submit" /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>On submitting the form, how do I make sure that the selected values remain selected in the dropdowns? This form is inside WordPress (PHP).</p>