Récupérer le contenu d'une zone texte
Bonjour,
Je voudrais récupérer le contenu d'une zône de texte, qui se trouve dans une page web (Php), mais j'y arrive pas :(
Svp , est ce que quelqu'un pourrait m'aider à résoudre ce problème.
Voiçi le code:
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
| <html>
<body>
<?php $qte_saisie = $_POST['qte']; ?>
<form id="form1" name="form1" method="post" action="calculQte.php/?">
<table cellpadding="0" cellspacing="0" border="0">
<tr valign="middle">
<td><input type="text" name="qte" value="0" size="4"/></td>
<td><a href="#" onClick="document.form1.qte.value++; return false"><img src="photos/plus.gif" width="14" height="10" border="0" hspace="0" vspace="0" /></a><br /><a href="#" onClick="document.form1.qte.value--; return false"><img src="photos/moins.gif" width="14" height="10" border="0" hspace="0" vspace="0" /></a></td>
</tr>
<!-- Je veux afficher la quantité saisie ici, comment faire
--> <tr><td><?php echo ".$qte_saisie" ?> </td>
<td></td>
</tr>
</table>
</form>
</body>
</html> |
Merci infiniment.