File: valider 4.php - Tab length: 1 2 4 8 - Lines: on off - No wrap: on off

01: ?<?php session_start(); ?>
02:  
03: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
04: <html lang="fr">
05:   <head>
06:   <title>Configurateur Individuel : choix des platines</title>
07:   <meta http-equiv="content-type" content="text/html; charset=utf-8" />
08:   <script type="text/javascript" src="jquery.js"></script>
09:   </head>
10:   <body>
11:   <h1>Configurateur de Poste Interieur</h1>
12:  
13:  
14:   <?php
15:  
16:   unset($_SESSION['choi']);
17:  
18:   if(isset($_POST['choix']))
19:  {
20:  if($_POST['choix'] == "1") $_SESSION['choi'] = "KABLAH";
21:  else if($_POST['choix'] == "2") $_SESSION['choi'] = "KABLIH";
22:  else if($_POST['choix'] == "3") $_SESSION['choi'] = "KABLOH" ;
23:  else if($_POST['choix'] == "4") $_SESSION['choi'] = "KABLUH";
24:  else if($_POST['choix'] == "5") $_SESSION['choi'] = "KABLEIH";
25:  else $choix = "Choix non r�f�renc�";
26: 
27: }
28:    echo $_SESSION['choi'];
29:   ?>
30:     Salut     Tu es � l'accueil de mon site (index.php). Tu veux aller sur une autre page ?
31: 
32:    
33:  
34:  
35:  
36:  
37:  
38:  
39:  
40:  
41:  
42:   </body>
43:   </html>
44: