title: get the text of the selected option using php
body: <p>in the following:</p>
  
  <pre><code>&lt;form  action="test.php"  method="POST"&gt;  
      &lt;select id="test" name="test"&gt;
       &lt;option value="1"&gt;Test One&lt;/option&gt;
       &lt;option value="2"&gt;Test Two&lt;/option&gt;
      &lt;/select&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>in test.php, I can get 1 or 2 as follow:</p>
  
  <pre><code>$result=$_POST['test'];
  </code></pre>
  
  <p>How can I get the text of the selected option (i.e. "Test One" or "Test Two") using php</p>