title: Getting data from alternate select tags with php
body: <p>Let say i have 3 select tags and an input tag in a form. i want that at any given time the user picks the first select option and one of the others. </p>
  
  <pre><code>&lt;select name= "scholl"&gt;
      &lt;option class="red" value="1"&gt; 2013&lt;/option&gt;
      &lt;option class="blue" value="2"&gt;2014&lt;/option&gt;
      &lt;option class="green" value="3"&gt;2015&lt;/option&gt;
  &lt;/select&gt;
  &lt;select name="depart"&gt;
     &lt;option&gt;Select Depart&lt;/option&gt;
     &lt;option class="red" value="one"&gt; Aline&lt;/option&gt;
     &lt;option class="blue" value="two"&gt; Bline&lt;/option&gt;
     &lt;option class="green" value="three"&gt; Fline&lt;/option&gt;
      &lt;/select&gt;
   &lt;h2&gt;Or&lt;/h2&gt;
  &lt;select name="coins"&gt;
   &lt;option&gt;Select Course code&lt;/option&gt;
   &lt;option class="red" value="1"&gt; A&lt;/option&gt;
   &lt;option class="blue" value="2"&gt; B&lt;/option&gt;
   &lt;option class="green" value="3"&gt; C&lt;/option&gt;
  &lt;/select&gt;
  
  &lt;h2&gt;Or&lt;/h2&gt;
  &lt;label&gt;ID
   &lt;span class="small"&gt;Enter Id&lt;/span&gt;
  &lt;/label&gt;
  &lt;input type="text" name="id" id="id" /&gt;
  </code></pre>
  
  <p>Example: </p>
  
  <blockquote>
    <p>option "2013" and option "Aline" 
    or 
    option "2013" and option "A" 
    or
    option "2013" and  "ID" </p>
  </blockquote>
  
  <p>How can i write this in PHP?
  Would really appreciate your help</p>