mais je n'arrive pas a recuperer les informations pour les afficher sur la page suivante
code de la 1er page
<html>
<title>Paramétrage</title>
<link href="setup.css" rel="stylesheet" type="text/css"/>
<body class="i-fond">
<input type="hidden" name="action" value="valid_var"/>
<center><span class="h-stitre"><b>Bienvenue dans la console de paramétrage</b></span></center>
<br><hr><br>
<!--Sélection des parametres-->
<center><span class="h-stitre"><b>Parametre</b></span></center><br>
<form name="valider_para" action="valider_para.php">
<center><table border="2" cellpadding="2" bordercolor=#0084BD>
<tr><td><input name="PARA[]" type="checkbox" id="choix1" value="choix1"><label for="checkbox1">
<span class="h-stitre"><b>choix1</b></span></label><br></td></tr>
<tr><td><input name="PARA[]" type="checkbox" id="choix2" value="choix2"><label for="checkbox2">
<span class="h-stitre"><b>choix2</b></span></label><br></td></tr>
<tr><td><input name="PARA[]" type="checkbox" id="choix3" value="choix3"><label for="checkbox3">
<span class="h-stitre"><b>choix3</b></span></label><br></td></tr>
</table></center>
<br><hr><br>
<!--Sélection des parametres2-->
<center><span class="h-stitre"><b>Parametre2</b></span></center><br>
<center><table border="2" cellpadding="2" bordercolor=#0084BD>
<tr><td><input name="PARA[]" type="checkbox" id="choix4" value="choix4"><label for="checkbox4">
<span class="h-stitre"><b>choix4</b></span></label><br></td></tr>
<tr><td><input name="PARA[]" type="checkbox" id="choix5" value="choix5"><label for="checkbox5">
<span class="h-stitre"><b>choix5</b></span></label><br></td></tr>
<tr><td><input name="PARA[]" type="checkbox" id="choix6" value="choix6"><label for="checkbox6">
<span class="h-stitre"><b>choix6</b></span></label><br></td></tr>
</table></center>
<br>
<!--Bouton de validation et d'annulation-->
<center><input class="h-bout" style='cursor:pointer' this.style.cursor='pointer' type="button" value="Valider" onClick="javascript:location.href='valider_para.php';">
<input class="h-bout" style='cursor:pointer' this.style.cursor='pointer' type="button" value="Annuler" onClick="javascript:location.href='install_ini.php';"></center>
</form>
</body>
</html>
code de la 2eme page
<html>
<title>Validation du paramétrage</title>
<link href="setup.css" rel="stylesheet" type="text/css"/>
<body class="i-fond">
<form name="formul" method="POST">
<input type="hidden" name="action" value="valid_var"/>
<center><span class="h-stitre"><b>Bienvenue dans la console de paramétrage</b></span></center><br>
<hr><br>
<?php
$nom[choix1]="choix1"; $link[choix1]="choix1.xml";
$nom[choix2]="choix2"; $link[choix2]="choix2.xml";
$nom[choix3]="choix3"; $link[choix3]="choix3.xml";
$nom[choix4]="choix4"; $link[choix4]="choix4.xml";
$nom[choix5]="choix5"; $link[choix5]="choix5.xml";
$nom[choix6]="choix6"; $link[choix6]="choix6.xml";
if (isset($_POST['PARA']))
{
echo ("Vous allez installer les pararmetres suivants :");
//vérification de la sélection
for ($i = 0, $c = count ($_POST['PARA']); $i < $c; $i++)
{
// Affichage de la sélection
echo($_POST ['PARA'][$i]);
}
}
else
{
echo ("Vous n'avez rien sélectionner !");
}
?>
<center><input class="h-bout" style='cursor:pointer' this.style.cursor='pointer' type="button" value="Installer" onClick="javascript:location.href='install_para.php';"/>
<input class="h-bout" style='cursor:pointer' this.style.cursor='pointer' type="button" value="Retour" onClick="javascript:location.href='checkbox.php';"/></center>
</form>
</body>
</html>
mon probleme est que je n'ai rien qui s'affiche sur la deuxieme page meme si je ne selectionne rienje crois qu'il y a une ou plusieur erreurs dans mes ligne de code mais je ne vois pas ou pouvez vous m'aidez merci d'avance
