how to get all value in dropdownlist in php
<p>I have a dropdown where user select some values and moves to other dropdownlist in sorted order by javascript. How can I get the chosen value in second dropdownlist in next page to a PHP variable ?</p>

<pre><code>&lt;form name="Example" action="next.php" method="post"&gt;
&lt;table border="0" cellpadding="3" cellspacing="0"&gt;
    &lt;tr&gt;
        &lt;td&gt;
            &lt;select name="Features" size="9" MULTIPLE&gt;
                &lt;option value="2"&gt;Row 2&lt;/option&gt;
                &lt;option value="4"&gt;Row 4&lt;/option&gt;
                &lt;option value="5"&gt;Row 5&lt;/option&gt;
                &lt;option value="6"&gt;Row 6&lt;/option&gt;
                &lt;option value="7"&gt;Row 7&lt;/option&gt;
                &lt;option value="8"&gt;Row 8&lt;/option&gt;
                &lt;option value="9"&gt;Row 9&lt;/option&gt;
            &lt;/select&gt;
        &lt;/td&gt;
        &lt;td align="center" valign="middle"&gt;
            &lt;input type="Button" value="&gt;&gt;" style="width:100px" onClick="SelectMoveRows(document.Example.Features,document.Example.FeatureCodes)"&gt;
            &lt;br&gt;
            &lt;input type="Button" value="&lt;&lt;" style="width:100px" onClick="SelectMoveRows(document.Example.FeatureCodes,document.Example.Features)"&gt;&lt;br&gt;

            &lt;input type="Button" value="&gt;&gt;&gt;&gt;" style="width:100px" onClick="selectAll(document.Example.Features);SelectMoveRows(document.Example.Features,document.Example.FeatureCodes)"&gt;&lt;br&gt;

            &lt;input type="Button" value="&lt;&lt;&lt;&lt;" style="width:100px" onClick="selectAll(document.Example.FeatureCodes);SelectMoveRows(document.Example.FeatureCodes,document.Example.Features)"&gt;
        &lt;/td&gt;
        &lt;td&gt;
            &lt;select name="FeatureCodes[]" id="FeatureCodes" size="9" MULTIPLE&gt;
                &lt;option value="1"&gt;Row 1&lt;/option&gt;
                &lt;option value="3"&gt;Row 3&lt;/option&gt;
            &lt;/select&gt;
        &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td&gt;&lt;input type="submit" value="submit" id="submit" name="submit"&gt;&lt;/td&gt;
    &lt;/tr&gt;

&lt;/table&gt;
</code></pre>

<p>Thanks in advance!!</p>
