title: how to pass the id value of a select list in a form using post or get?
body: <p>A select list in a form, I know there's no problem to pass the option value using post or get. But if I also want to pass the select id value, is it possible and how?
  For example:</p>
  
  <pre><code>&lt;form action="Test.php" method="POST"&gt;
                  &lt;select name="select" id = '1'&gt;
                      &lt;option value=""&gt;Select a Status&lt;/option&gt;
                      &lt;option value="0"&gt;0&lt;/option&gt;
                      &lt;option value="1"&gt;1&lt;/option&gt;
                      &lt;option value="2"&gt;2&lt;/option&gt;
                      &lt;option value="3"&gt;3&lt;/option&gt;
                  &lt;/select&gt;                
                  &lt;input type="submit" value="submit"/&gt;
              &lt;/form&gt;
  </code></pre>
  
  <p>And here is the simple print php code:</p>
  
  <pre><code>&lt;?php
      print_r($_POST['select']);
  ?&gt;
  </code></pre>
  
  <p>It can print the value of the option that has been chosen, but how to modify the code if I also want to post the id value, which is 1 here. I want to do so because I want the id to become a variable to store some int numbers. Thank you!</p>