for($i=0;$i<$count;$i++) { $ref = $_SESSION['achats'][$i]['ref']; $qte = $_SESSION['achats'][$i]['qte']; $prix = $_SESSION['achats'][$i]['prix'];echo '<tr>' .'<td witdh="46%">' .$ref .'</td>' .'<td witdh="46%">' .$prix .'</td>' .'<td witdh="46%">'.'<form name=jump method=\"POST\">'.'<select name=menu onChange=location=document.jump.menu.options[document.jump.menu.selectedIndex].value; value=GO>'.'<option selected value="0">- '.$qte.' - </option>';for($j=1;$j<10;$j++) {echo '<OPTION VALUE=contenu.php?do=modif&ref='.$ref.'&qte='.$j.'>- '.$j.' -</OPTION> ';}echo '</OPTION></select></form>' .'</td>' .'<td witdh="46%">' .$qte*$prix .'</td>' .'<td witdh="46%">' ."<a href=\"contenu.php?do=del&ref=$ref\">supprimer</a>" .'</td>' .'</tr>';}
.'<select name="menu" onChange="document.location.href=document.jump.menu.options[document.jump.menu.selectedIndex].value"; value="GO">'