How do I print a variable in the URL of a page into the html and more specfically,...

John Peterson

New member
...inside a new href link? I had a similar question, but this seems to appropriately describe my situation.

okay, so after users fill out a form on my website, they are taken to a confirmation page. as this is happening, i am passing thru their email to the confirmation page using a variable generated by the form and placed into the URL of the confirmation page.

what i want to do is then place that email variable into a link on the confirm page, something like:
<a href... website [dot] com/index.php&x=em=EMAIL >

So when users click that link, their email address is again passed thru to the next page.

essentially, i want to pass the same variable through two pages

any help would be greatly appreciated, thanks!
 
Back
Top