<?php
if(isset($_POST['Submit'])) {
header('Location: $_POST['select'].php');
}else{
echo"cia jau eis <form post ir t.t>
<select name=\"select\" size=\"1\">
<option>pirmas</option>
<option>Antras</option>
<option>trecias</option>
</select>
<input type=\"submit\" name=\"Submit\" value=\"Submit\" />
</form>";
}
?>