header('Content-Type: text/html; charset=utf-8'); //php tagının içerisine bu kodu yazıyoruz ve türkçe karakter hatasından kurtuluyoruz.