I am in the process of building my first shopping cart. Everything is working fine. On my payment page I collect the users product info and display this on the page, I also store these values in a hidden field. I want to be able to take these values over to a new page so that I can email the customer his/her order before passing the credit card details on to a secure server using a cgi called anyform. Unfortunately The secure server only accepts cgi scripts.
How do I do this since all the name values in the input type are called from the database and each one is different?
I only need to use the following lines of code to dynamically create the hidden fields before passing over to the next page but how can I catch these values.
<?php echo $row["qty"]; ?><input type="hidden" name="<? echo $row["itemName"]; ?> quantity required" value="<? echo $row["qty"]; ?>"></font> </td>
I look foward to seeing your ideas
Many Thanks
Adrian