Bonjour,

Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
 
<? 
if (isset($_POST)) extract ($_POST); 
if (isset($checkbox1) || isset($checkbox2) || isset($checkbox3)) phpinfo(INFO_VARIABLES); 
?> 
<form name="form1" method="post" action="test.php"> 
<input type="checkbox" name="checkbox1" onClick="form1.submit();"> 
<input type="checkbox" name="checkbox2" onClick="form1.submit();"> 
<input type="checkbox" name="checkbox3" onClick="form1.submit();"> 
</form>
Je souhaiterai savoir comment faire en sorte pour que la valeur des checkbox qui ne sont pas cochés soient postés ?