böyle olması lazım çok hatırlamıyorum
while($durum = 0){
unlink($dosya);
$update = mysql_query("UPDATE haber SET durum=1 WHERE id='$id'");
}