Hi guys, can anyone help me?
I'm setting up a form that when submitted goes to a second page (short2.php) that shows the person what they submitted and a chance to go back and edit. When ready I want them to hit a submit button that will go to a thankyou page (short3.php) and emails the results to me. Right now it goes fine until short3.php, it emails "Name, Title" but not the information.
Here is short.php
<form action="short2.php" method="get">
Name <input name="firstPresenter" type="text"
size="58"><br>
Title <input name="firstTitle" type="text" size="58"><br>
<input type="submit" name="Submit" value="Submit">
</form>
Here is short2.php---the information shows up OK here
<form action="short3.php" method="get">
<?php
print "Name: \t$firstPresenter<br>
Title: \t\t$firstTitle<br>
<input type='submit' name='Submit' value='Submit'>";
?>
</form>
Here is short3.php---I receive "Name and Title" in my email, but not the information entered in short.php and passed on to short2.php----
<form action="short3.php" method="get">
Thank you <br>
<?php
$message = "Name: \t$firstPresenter
Title: \t\t$firstTitle";
mail( $to, $subject, $message ) or print "Could not send mail";
$email = "$message";
$to = "kkral@cord.org";
$subject = "NTPN Conference Presentation Proposal";
$mailheaders = "From: 2003 NTPN webpage3 <> \n";
$mailheaders .= "Reply-To: $thereemail\n\n";
mail($to, $subject, $email, $mailheaders, $message);
?>
<p align="center"> </p>
</form>
thanks, Kathy