Greetings! I hope you guys can help me. I'm working on adding a shopping cart to our site, but they do a terrible job of offering tweaks to their embed link code.
I'm trying to create a form that will have the user choose the size they want and input the quantity and then on submit, assemble the URL and send them there.
For instance, this is the URL that links to the cart http://www.example.com/shop/cmd.php?pid=cf17eb9161924ed6847abc14428f35db&bn=1&qty= Where the pid= is the product id and the quantity will be the quantity someone wants to buy.
I tried to create thise form, but it doesn't seem to be working:
If you are not transmitting any sensitive data, and you're not actually changing anything on the server yet, then you can make the method="get" (which will pass the values in the querystring). Alternatively, leave it as method="post" and modify your cmd.php to process the POST data instead of GET.
Hope that helps.
[edited by: incrediBILL at 6:03 pm (utc) on May 15, 2012] [edit reason] fixed URLS, use Example.com [/edit]