La methode GET

samira -  
sebsauvage Messages postés 33284 Date d'inscription   Statut Modérateur Dernière intervention   -
BONJOUR? JE VEUX CONNAITRE COMMENT UTILISER LA METHODE INCLUDE AVEC LA METHODE get POUR INCLRE DES PAGES WEB
Configuration: Windows XP
Internet Explorer 6.0

2 réponses

  1. sebsauvage Messages postés 33284 Date d'inscription   Statut Modérateur Dernière intervention   15 684
     
    ?

    La méthode GET dans quoi ?
    Quel langage ?
    0
    1. samira
       
      c'est dans le lagage php :creation d'un site web
      exemple
      <?php
      switch($_GET['PAGE']{
      CASE '1': include('page1.php');
      break;
      CASE '2': include('page1.php');
      break;
      }
      default('page0.php');
      0
  2. sebsauvage Messages postés 33284 Date d'inscription   Statut Modérateur Dernière intervention   15 684
     
    mmm... mais pourquoi ne pas tout simplement faire des liens vers page1.php, page2.php... ?

    Ta méthode me semble inutilement compliquée.
    0