This is the code I have at the moment
echo "<td height=\"22\"><A HREF=\"cart.php?code=".$_GET['code']."&action=add&price=".number_format(($newresult[$count]->GrossAmount)/($newresult[$count]->QuantityOrdered), 2)."&id=".$newresult[$count]->ProductCode."&qty=1\">Add to Cart</a></td>";
As you can see from the code above each time this link is clicked it adds one to the cart. What I am trying to do is get a user to enter a value into a text box so that it updates the url as shown below.
echo "<td height=\"22\"><A HREF=\"cart.php?code=".$_GET['code']."&action=add&price=".number_format(($newresult[$count]->GrossAmount)/($newresult[$count]->QuantityOrdered), 2)."&id=".$newresult[$count]->ProductCode."&qty="Value from Textbox here"\">Add to Cart</a></td>";
What is the best way to go about this. Thanks for any replies or advice in advance.