Alıntı
$duyuruBul = mysql_query("select * from duyurular where aktif = '1'");
Bu şekilde yapabilirsin.