|
For all you PHP GURUS
This is my PHP page that sends me an email when someone submits a form. At the bottom of the code, it prints a message in regular HTML... can someone give me the code to direct it to another page once the form is submitted? THANKS!
[code:1:2e863b463b]<?php
$mailto = "support@richlinetechnical.com";
$subject = "Richline Technical Services";
$name = stripslashes($_POST['uname']);
$email = stripslashes($_POST['email']);
$phone = stripslashes($_POST['phone']);
$message = "This email is submitted from a RichlineTechnical.com viewer. It was submitted by the index.htm page\n\n";
$message .= "Sender: $uname: ($email)\n";
$message .= "Phone: $phone\n\n";
mail($mailto, $subject, $message, "From: $uname <$email>");
?>
<div align=center>
<table width="90%" height="100%" cellpadding=0 cellspacing=0>
<tr>
<td height="90%"><p>Thank you for contacting Richline Technical Services. We will contact you within 1 business day</p></td>
</tr>
</table>
</div>[/code:1:2e863b463b]
|