Sedang Disiapkan

219968 Pass token to thank you page

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.

Kemahiran: Semua Boleh, PHP

Lihat lebih lanjut: thank-you thank you, type of cookies, creating a page, thank you page, http parameters javascript, pass page, aweber code, using variables url, php echo print, thank, session cookies, convert php code javascript, javascript variable php, javascript encoding, javascript pass url variable, code print javascript, echo fix url php, extra space, php form autoresponder, fix print, fix url javascript, value pass php page, pass hidden variable form aweber, javascript fix space issue, use hidden field javascript

Tentang Majikan:
( 55 ulasan ) Bergenfield, United States

ID Projek: #1966201

Dianugerahkan kepada:

usuf001

ready to start

$20 USD dalam 0 hari
(341 Ulasan)
6.0