219968 Pass token to thank you page
N/A
Maksettu toimituksen yhteydessä
I need a quick fix to pass a custom variable from a form to a thank you page. Should literally take 10 minutes or less for any decent php programmer.
I'm using the aweber autoresponder ([url removed, login to view]) and I created a form with custom variables.
The issue is that their custom variables name contain a space so if I tried to use the $_GET function and print out the value on the thank you page, it doesn't work because of the url encoding of the extra space ie. %20.
So for a custom variable named "age" it would display in the form as:
<input type="hidden" name="custom age" value="" size="20">
So for the thank you page the values are passed in the url with the field value as parameters and would look something like:
[url removed, login to view] years old
And I'm not able to print out the value using the $_GET function.
So I need the value of the custom variables to be able to be printed on the thank you page using the echo function
ie. <?php echo $_GET['custom_age']; ?>
Or
<?php echo $customage; ?>
This would be need to be working in between javascript code too.
A possible solution is simply creating a session and storing the custom variable values as cookies, then printing out the values of those cookies.
OR
Simply convert the custom%age to custom_age so it can use the $_GET function and be printed on the page.
Projektin tunnus: #1966201