WHAT IS PROOOOBBLLEEEEEMMM????
<?
$dosya = "sonuc.php";
$tut = fopen($dosya,'r');
$toplam = 0;
for($i=0;$i<=3;$i++) {
$satir[$i]=fgets($tut,150);
$toplam += $satir[$i];
}
$sonuc1 = ($satir[0]);
$sonuc1 = number_format($sonuc1);
$sonuc2 = ($satir[1]);
$sonuc2 = number_format($sonuc2);
$sonuc3 = ($satir[2]);
$sonuc3 = number_format($sonuc3);
?>
//.problem is here.
//.error message: Undefined variable (if ($secim == "a").
<?
if ($secim == "a")
echo "kemal";
?>
<form method="post" action="anket.php">
<table width="100%" border="0">
<tr> <td>Anket Sorusu </td> </tr>
<tr> <td> <input type="radio" name="secim" value="a"> Secim 1...<? echo $sonuc1; ?></td> </tr>
<tr> <td> <input type="submit" name="olay" value="Gonder"> </td> </tr>
</table>
</form>