<?phpif(isset($_POST['submit'])){$fradio = $_POST['fradio'];if (strlen($fradio) == 0) {echo "<center>FALSE:<a href=\"javascript:history.go(-1)\">Go Back</a></center>"; Die();}else{echo "<center>TRUE:<a href=\"javascript:history.go(-1)\">Go Back</a></center>";} }else{?><form method="post" action="check.php"><input type="radio" name="fradio" value="1">1<input type="radio" name="fradio" value="2">2<input type="submit" name="submit" value="submit"></form><?php}?>