Why wont this code work?
<form name="form1" method="post" action="val.php">
<p>Which text do u want to see?</p>
<p>text one:
<input type="radio" name="radiobutton" id="radio" value="1">
<br>
text two:
<input type="radio" name="radiobutton" id="radio" value="2">
<br>
<br>
<input type="submit" name="Submit" value="Submit">
</p>
</form>
<br>
<?
if ($POST['radio'] == 1) {
print("this is text number one");
}
if ($POST['radio'] == 2) {
print ("this is text number two");
}
?>