Impossible de trouver le nom de ma variable :
Code : Tout sélectionner
name="champ[1][largeur]" print_r($_POST);
print_r($_POST['champ']);
print_r($_POST['champ'][1]);
echo $_POST['champ'][1]['largeur']; // Ne marche pas
Code : Tout sélectionner
name="champ[1][largeur]" print_r($_POST);
print_r($_POST['champ']);
print_r($_POST['champ'][1]);
echo $_POST['champ'][1]['largeur']; // Ne marche pas
<form name="form" action="unpage.php" method="post"><input type="checkbox" name="champ[1]['largeur']" id ="fiche_validee_1_largeur" value="100"></form>
Cependant je n'arrive pas a trouver comment afficher le resultat de cette variable !echo $_POST["champ[1]['largeur']"];
sans conviction...