header("Refresh: 2; url=index.php");yazdığım kod bu ama aşağıdaki gibi hata alıorum neden olabilir acaba...
Warning: Cannot modify header information - headers already sent by (output started at /home/..../xxx.com/sozluk/uyekontrol.php:10) in /home/.../xxx.com/sozluk/uyekontrol.php on line 11
bu refresh 2 yine görmekteyim. böyle bir işlem için şahsen ben şu html komutunu kullanirdim
<meta http-equiv="Refresh" content="2; URL=index.php">
böyle bir komutun php ile kullanilmasi bence çok saçma