<form action="<?=$_SERVER["PHP_SELF"]?>" method="post">
<?php
if ( isset( $_POST[ 'send' ] ) )
{
$sprache = $_POST['sprache'];
if ($sprache == "nein") {
echo "Du bist X-Ray!";
}
if ($sprache == "ja") {
echo "Du bist definitiv nicht X-Ray";
}
}
?>
Sprichst Du deutsch?<br />
<select name="sprache">
<option value="ja">Ja</option>
<option value="nein">Nein</option>
</select>
<input type="submit" name="send" value="abschicken">