if (($_POST['duyurubaslik']=="") or ($_POST['editor1']=="")){ 
header("location:duyuru_ekle.php"); 
}else{

//işlem

}