Parse error: syntax error, unexpected T_CASE in /home/redlimbc/public_html/M2H/article.php on line 757
<?php
break;
case "yorumonay":
$id = $_GET['id'];
$yorum_adsoyad = str_replace("'", "\'", $_POST['yazan']);
$yorum_email = str_replace("'", "\'", $_POST['mail']);
$yorum_yorum = str_replace("'", "\'", $_POST['yorum']);
$tarih = date("d.m.Y");
if(($yorum_adsoyad == "") or ($yorum_email == "") or ($yorum_yorum == "")){
echo '<script type="text/javascript">alert("Bo? b?rakt???n?z alanlar var!");</script>';
echo '<meta http-equiv="refresh" content="0;URL=yazi.php?id='.$id.'">';
}else{
$yorum_kaydet = mysql_query("INSERT INTO yorumlar (makale_id,yazan,mail,tarih,yorum) VALUES ('$id','$yorum_adsoyad','$yorum_email','$tarih','$yorum_yorum')");
if($yorum_kaydet){
echo '<script type="text/javascript">alert("Success!");</script>';
echo '<meta http-equiv="refresh" content="0;URL=yazi.php?id='.$id.'">';
}else{
echo '<script type="text/javascript">alert("Error!");</script>';
echo '<meta http-equiv="refresh" content="0;URL=yazi.php?id='.$id.'">';
}
}
break;
}
?>
Help me please.