Thanks for your help, unfortunately it doesn't work. I always get Please fill in the form...
So, I'm using following html-code:
<form action="handler.php" method="post" target="_blank" name"test1">
<table border="0" cellpadding="1" cellspacing="0" width="100%">
<tr>
<td width="100%" valign="top">
<p style="margin-top: 0; margin-bottom: 0"> </p>
<p style="margin-top: 0; margin-bottom: 0"><IMG src="../img/arrow.gif" width="9" height="7<tr>
<select><option name="option" value="1">TEST1</option><option name="option" value="2">TEST2</option><option name="option" value="3">TEST3</option>
<option name"option" value="4">TEST4</option>
</select>
</table>
In my php handler.php code I use:
<?php
if (!empty($_POST['test1']))
{
if($_POST['option']==1)
{
header('Location: http://mysite.com/sage/page1.php');
}
else
{
header('Location: http://mysite.com/sage/page2.php');
}
}
else
{
echo 'Please fill in the form';
}
?>