Can someone help me to add a line to this script that enables the user to return to my home page after submitting? This is how my php page currently reads, and where it says "Your Story has been submitted. Thank you." I'd like a link to return to the index.html page. My site is www.lifeatfifty.com. Thank you.
<HTML>
<HEAD>
<TITLE>Succesfully Submitted</TITLE>
</HEAD>
<BODY>
<H2>Your Story has been submitted. Thank you.</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "lifestories@lifeatfifty.com";
$mailsubj = "Life Stories Submission";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HEAD>
<HTML>
<HEAD>
<TITLE>Succesfully Submitted</TITLE>
</HEAD>
<BODY>
<H2>Your Story has been submitted. Thank you.</H2>
<?PHP
$email = $HTTP_POST_VARS[email];
$mailto = "lifestories@lifeatfifty.com";
$mailsubj = "Life Stories Submission";
$mailhead = "From: $email\n";
reset ($HTTP_POST_VARS);
$mailbody = "Values submitted from web site form:\n";
while (list ($key, $val) = each ($HTTP_POST_VARS))
{
$mailbody .= "$key : $val\n";
}
mail($mailto, $mailsubj, $mailbody, $mailhead);
?>
</BODY>
</HEAD>
Comment