First, I am sorry to post such a basic Question! I read through the FAQ's (which are excellent) -- but I just need a little clarification.
Here is what I am trying to do: Email form gets sent to email.php and then on to thank_you.html.
So ... the trouble is ... I lose the variable $green along the way.
And what I mean is this:
form.html says this: <INPUT NAME="green">
then email.php sends an email and goes here:
$redirect_url = 'thank_you.html';
But what I want to do is ... IF green is equal to a certain value - I want to display certain text on the thank_you.html page.
But, I seem to not have access to $green once I get to thank_you.html.
The way I tested this is because I put:
<?
echo "<p>This is green: ".$green."<br>";
?>
on the thank_you.html page - and it DOES NOT have a value if it comes from email.php - but ... if I send the form DIRECTLY to thank_you.html, then I do have a value for $green.
I hope this makes sense!
My ultimate question is - how do I pass the value on from form.html to email.php and then finallly onto thank_you.html?
Thx,
Anne Marie