salut je voudrai utiliser la session pour stocker des valeur pour l'afficher a l'aide d'une boucle

voila
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
<?php session_start();
 
$_SESSION['hebergement'][] = array ("domain" => $_GET['domain'],"com" => $_POST['com'],"hcom" => $_POST['hcom'],"dcom" => $_POST['dcom']);
$count=count($_SESSION['hebergement']); 
for($i=0;$i<$count;$i++)
{
$nomdomain=$_SESSION['hebergement'][$i]["domain"];
$disponibilite=$_SESSION['hebergement'][$i]["com"];
$hebergemen=$_SESSION['hebergement'][$i]["hcom"];
$duree=$_SESSION['dcom'][$i]["dcom"];
		?>
<table width="583" border="0">
        <tr>
          <td width="138"><?php if($disponibilite=='Disponible') 
		  {print('<font color="#00FF00">'.$nomdomain.'.com</font>');}
		  else
		  {print('<font color="#FF0000">'.$nomdomain.'.com</font>');} ?></td>
          <td width="70">prix</td>
          <td width="116"><?php print($hebergemen); ?></td>
          <td width="55"><?php print($duree); ?></td>
          <td width="116"><?php if($disponibilite=='Disponible')
		  { print('<font color="#00FF00">'.$disponibilite.'</font>');}
		  else
		  {print('<font color="#FF0000">'.$disponibilite.'</font>');} ?></td>
          <td width="62">total</td>
        </tr>
      </table>
			<img src="images/bar.jpg" width="572" height="1" /><br />
	  <?php } ?>
le probleme que j'ai eu c'est quand je fais
Code : Sélectionner tout - Visualiser dans une fenêtre à part
<?php print($duree); ?>
m'affiche rien j'en sais pas pourquoi ?