Hallo!
Ich habe eine selection
<select name="seite">
<option>Haus</option>
<option>Umgebung</option>
</select>Nun moechte ich, dass sich je nachdem welches der beiden man waehlt die jeweilige Seite gestartet wird. Wie mach ich das?
Danke fuer eure Hilfe
<?php
echo "
<form action="#" method="post">
<input type="radio" name="zz" value="1">haus<br>
<input type="radio" name="zz" value="2">umgebung<br>
<input type="submit" name="absenden" value="absenden">
</form>";
$jiha = ($_POST["zz"]);
if ($jiha == "1")
{
echo "<meta http-equiv="refresh" content="1; URL=http://url-für-den-wert-haus.de">";
}
else
{
echo "<meta http-equiv="refresh" content="1; URL=http://url-für-den-wert-umgebung.de">";
}
?>