$query = mysql_query("INSERT INTO ogrenci
(tckimlikno, adsoyad, ogretmen, yorum, tarih) VALUES ('$tckimlikno', '$adsoyad', '$ogretmen’, '$yorum', '$tarih')") or die(mysql_error());
query kismini bu şekilde değiştir ve tekrar dene mysql sorgusunda hata varsa görelim