sinav.php
<?php
echo"<form action='sonuc.php' method='POST'>";
echo"<table border=\"2\"width=\"300\">";
echo"<tr>";
echo"<th colspan=\"4\">Aşağıdakilerden hangisi insandır?</th>";
echo "</tr>";
echo "<tr>";
echo "<td><img src='inek.jpg'><input type='radio' name='rr' value=0></td>";
echo "<td><img src='kedi.jpg'><input type='radio' name='rr' value=0></td>";
echo "<td><img src='kopek.jpg'><input type='radio' name='rr' value=0></td>";
echo "<td><img src='insan.jpg'><input type='radio' name='rr' value=100></td>";
echo "</tr>";
echo "<input type='submit' value='Cevapla'>";
?>
sonuc.php
<?php
$not = $_POST['rr'];
echo "Puanınız= $not <br>";
if($not==0)
echo "Doğru cevap bu idi!";
echo "<br><img src='insan.jpg'>";
?>