Bonjour à tous,

Voila mon petit soucis, je n'arrive pas à récupérer la valeur du textarea (quantité de produit commandé) au moment ou je clique sur le panier.
La quantité est à l'origine pré-rempli par une quantité mimimum de commande, ensuite le client saisie la quantité qu'il souhaite et clique sur le panier. Au secours !!!



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
 
echo '<td width="1500" class="descriptionP" style="padding-left: 5px;">'.$res_req_produit["libellé"];echo '</a></td>';
echo '<td class="descriptionP" style="padding-left: 0px;">'.$res_req_produit["code_art"];echo '</td>';
echo '<td class="prixP" style="padding-left: 10px;">' .$prix_remise.'&euro;</td>';
echo '<td class="descriptionP" style="padding-left: 20px;">'.$res_req_produit["fournisseur"];echo '</td>';
echo '<td class="descriptionP" style="padding-left: 10px;">';
echo "<a href=bois1.php?code_prod=$code_art&amp;famille=$famille&amp;fournisseur=$fournisseur&amp;libellé=$libellé&amp;gencod=$gencod&amp;ref_frs=$ref_frs&amp;ABC=$ABC&amp;cmd_mini=$cmd_mini&amp;Prix_net=$Prix_net&amp;Prix_brut=$Prix_brut&amp;TTC=$TTC&amp;prec=2&amp;page=$page> Détails </a>";
echo '</td>';
echo '<td class="descriptionP" style="padding-left: 15px;">';
echo '<input type="textarea" name="quantité" value="'.$res_req_produit["cmd_mini"]; echo ' " size=1>';
echo '</td>';
 
//--***********************   Recup des variables   *****************************        
 
$gencod = $res_req_produit["gencod"];
$ref_frs = $res_req_produit["ref_frs"];
$ABC = $res_req_produit["ABC"];
$cmd_mini = $res_req_produit["cmd_mini"];
$TTC = $res_req_produit["TTC"];
$fournisseur = $res_req_produit["fournisseur"];	
$Prix_net = $res_req_produit["Prix_net"];
$Prix_brut = round($prix_remise,2);
$LIBELLEPRODUIT = $res_req_produit["libellé"];
$PRIXPRODUIT = round($prix_remise,2);
 
?>
      </form>
<?
 
?>        
        <td align="center"><img href="panier.php?action=ajout&amp;l=<?php echo $LIBELLEPRODUIT;?>&amp;q=<?php echo $QUANTITEPRODUIT;?>&amp;p=<?php echo $PRIXPRODUIT;?>" onclick="window.open(this.href, '', 'toolbar=no, location=no, directories=no, status=yes, scrollbars=yes, resizable=yes, copyhistory=no, width=600, height=350'); return false;" src="images/addpanier.gif" alt="panier" width="35" height="20" border="0" /></td>
      </tr>
 
<?php
merci encore pour votre aide