Salut,
Voici mon code :
Mon problème est que je n'arrive pas à récupérer la valeur qte... Et je ne vois pas comment faire, alors je me tourne vers vous !!!
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49 <html> <? $a = 1; $sql = "SELECT id_stock, article, libelle, stock FROM stock GROUP BY actif, article"; $result=mysql_query($sql); ?> <body topmargin="0" leftmargin="0" rightmargin="0" bottommargin="0" marginwidth="0" marginheight="0"> <table width="90%"> <tr> <td colspan="4" width="100%" bgcolor="#3366FF" align="center"> <p class="titre_02">GESTION DU STOCK </td> </tr> <tr> <td colspan="4" width="50%" align="center"> <form name="formulaire" method="post" action="" onSubmit="return testsubmit()"> </td> </tr> <?php while ($row=mysql_fetch_object($result)) { if ($a%2 == 0) {$couleur = "#FFE45E";} else {$couleur = "#FFF189";} echo "<tr align=\"left\" bgcolor=\"".$couleur."\">"; echo "<td width=\"70%\">"; echo "<p class=\"TITRE_20\">".$row->article." - ".$row->libelle; echo "</td>"; echo "<td width=\"10%\" align=\"center\">"; echo "<input align=\"center\" class=\"TITRE_20\" type=\"text\" name=\"qte\" size=\"5\">"; echo "</td>"; echo "<td width=\"10%\" align=\"center\">"; echo "<a href=\"gestion.php?w=2&id_stock=".$row->id_stock."\"><img border=\"0\" src=\"../images/signe_moins.png\"></a>"; echo "</td>"; echo "<td width=\"10%\" align=\"center\">"; echo "<a href=\"gestion.php?w=3&id_stock=".$row->id_stock."\"><img border=\"0\" src=\"../images/signe_plus.png\"></a>"; echo "</td>"; echo "</tr>"; $a = $a+1;} ?> <tr> <td colspan="3"> </form> </td> </tr> </table> </body> </html>![]()
Impossible de récupérer la moindre valeur sur la page suivante![]()
D'avance merci.









Répondre avec citation
Partager