<?
echo "SAYISAL LOTO TAHMINLERI.:";
$j=0;
for ($i=0;$i<=5;$i++)
{$sayi[$i]=rand(1,49);}
sort($sayi);
for ($i=0;$i<=4;$i++)
{
$j++;
if($sayi[$i]==$sayi[$j]){$sayi[$j]=rand(1,49);}
}
for ($i=0;$i<=5;$i++)
{echo $sayi[$i]." ";}
?>
<form name="form1" method="post" action="tahmin.php">
<input type="submit" name="Submit" value="yeni tahmin üret!!!">
</form>