title: How to link a HTML <select> list with a submit button
body: <p>I have a webpage which consists of a select list with 6 options, along with a submit button. <br> <br> I need to code it in such a way that when one option is selected in the list and the submit button is clicked, it should open another linked page, whereas when another option is selected and submit button is clicked it should open some another page. <br> <br>
  Basically <strong><em>I want each option to open some linked page when the submit button is clicked. <br> <br></em></strong>
  By googling a bit, I understood that I have to use php for this but I am not getting the appropriate code for the same. <br> <br> 
  I do not want the submit button to open only 1 specific page. Rather,I want it to open 6 different pages corresponding to different options selected.</p>
  
  <blockquote>
    <p>Code Snippet : </p>
  </blockquote>
  
  <pre><code>   &lt;div&gt;
  
     &lt;H1&gt;&lt;FONT="TIMES ROMAN" FONT-COLOR="BLUE" &gt; SELECT An subject:&lt;/H1&gt;
  
      &lt;select&gt;
  
     &lt;option value=""&gt;&lt;/option&gt;
     &lt;option value="physics"&gt;physics&lt;/option&gt;
     &lt;option value="chemistry"&gt;chemistry&lt;/option&gt;
      &lt;option value="biology"&gt;biology&lt;/option&gt;
      &lt;option value="maths"&gt;maths&lt;/option&gt;
       &lt;option value="cs"&gt;cs&lt;/option&gt;
       &lt;option value="electrical"&gt;electrical&lt;/option&gt;
  
        &lt;/select&gt;
        &lt;br&gt;
  
     &lt;input class="SubmitButton" type="submit" name="SUBMITBUTTON"              value="Submit" style="font-size:20px; " /&gt;
    &lt;/div&gt;
  </code></pre>
  
  <p>Also i have learnt that it cannot be done using href tag because an option list cannot directly open pages, a submit button is required to perform an action. <br> <br></p>
  
  <p>Need help to resolve this.</p>