if($_POST['isim'] == ""){
echo "İsim alanı boş bırakılamaz<BR>";
}else
if($_POST['mesaj'] == ""){
echo "Mesaj alanı boş bırakılamaz<br>";
}else {
...