muhtemelen sql sorgun boş dönüyor
$sayi=... satırunun üstüne
Alıntı
if(!$haber_al)
{
echo mysql_error();
}
kodunu ekleyip bir hatayı gör önce.