post to thank you page
I have a form with an Email Address field in it. When I submit the form it takes you to a thankyou.php page. On the thankyou.php page I'm trying to show the email address that was entered using the code below, but nothing shows up.
I have this code on the form page:
<?php $myemail = $_POST['Email_Address']; ?>
And this code on the thank you page:
<?php $myemail = $_POST['Email_Address']; ?>
<?php echo $myemail; ?>
What am I doing wrong?