}else{header("location:index.php");};
şurda hata var
}else{header("location:index.php");}
bu şekilde olucak etkilermi bilmiyorum