I'm trying to collect data from a form on my sales page to pass on to my clickbank checkout page. It basically needs to be added on to the url in the following format: email=aef@asd.com&zipcode=27262&... etc
Here's what I've got on my sales page:
And here is the order page code:
How would I go about adding the zipcode variable to the order page code? I've tried
but that doesn't work. Any ideas?
Here's what I've got on my sales page:
Code:
<form action="order.php" method="post" target="_self">
email: <input name="email" type="text"><br />
zipcode: <input name="zipcode" type="text"><br />
<input type="submit">
</form>
Code:
<?php
header("Location: http://5.tiemedia.pay.clickbank.net/?email=" . $_POST["email"]);
?>
Code:
.../?email=" . $_POST["email"]&zipcode=" . $_POST["zipcode"]);