$url = "deneme.php"; $rank = $$row_devamet['deger']; if ($rank!== $deneme) { // yöndendirme header("Location: $url"); }