voici mon probleme je n'arrive pas a afficher deux vols en meme temps avec le bouton checkbox , il n'affiche qu'un seul , comment faire pour qu'il m'affiche tout ce que je coche ?
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
<?php  
$i; 
$saut = "<br/>"; 
$produit = array("DAKAR_PARIS"=>850000, "DAKAR_NEW_YORK"=>650000, "DAKAR_MISRATA"=>250000, "DAKAR_KOWEIT"=>950000); 
$table = "<table border='2' width=50% >  
			<caption>liste des produits disponibles</caption> 
			<tr> 
				<th width=50%>DESTINATIONS</th> 
				<th width=30%>PRIX</th> 
				<th width=20%>CHOIX</th> 
			</tr>"; 
foreach($produit as $cle=>$a) { 
	$table .= "<tr> 
				<td>$cle</td> 
				<td>$a</td> 
				<td><input type='checkbox' name='radio' value='$cle'/></td>
				
			</tr>"; 
}
$table .= "</table>"; 
$valider = "<input type='submit' value='valider'/>"; 
 
$form = "<form name='commande' action='recup1.php' method='POST'>"; 
 
echo $form.$table.$valider."</form>"; 
?>