Navigasyon PHP Anahtarı kimliği hata

0 Cevap php

Ben bir site üzerinde çalışıyorum ve ben alıyorum tuttu

Notice: Undefined index: hattında 3 dosya kök id

Ben onun basit bir şey biliyorum ama sorun tam burada yatıyor bilemiyorum.

burada kodu:

<?php
    switch($_GET['id']) {
        default:
            include('pages/hello.php');
        break;
        case "testimonials": 
            include('pages/testimonials.php');
        break;
        case "faq":
            include('pages/faq.php');
        break;
        case "raq":
            include('pages/raq.php');
        break;
        case "contact":
            include('pages/contact.php');
        break;
    }
?>

hat 3 <?php switch($_GET['id']) { olurdu

herhangi bir yardım büyük mutluluk duyacağız!

0 Cevap