First I cut the second page in to two scripts the first will take the information and email it and the second will display the Thankyour thingy. The reason that your message just said hello was because you assigned $message to "hello" overwrinting the $POST['message']. This is to be called thanks.php
<?php
session_start();
$type = $_SESSION['type'];
$name = $_SESSION['name'];
$email = $_SESSION['email'];
$subject = $_SESSION['subject'];
$message = $_SESSION['message'];
echo "Thank you for contacting us." . "<br>";
echo "Type: ". $type . "<br>";
echo "Name: ". $name . "<br>";
echo "Email: ". $email . "<br>";
echo "Subject: ". $subject . "<br>";
echo "<pre>Message: ". $message . "</pre>";
?>
Here is the original with the thankyou part seperated and will now actually send you the message they type into the textarea.
<?php
session_start();
$_SESSION['to']=$_POST['to'];
$_SESSION['type']=$_POST['type'];
$_SESSION['name']=$_POST['name'];
$_SESSION['subject']=$_POST['subject'];
$_SESSION['message']=$_POST['message'];
$_SESSION['email']=$_POST['email'];
$to = 'cameron@caminator.com';
$subject = 'CAMINATOR.COM - Contact Us';
$message = $_POST['message'];
$message =wordwrap($message,70,"\r\n");
$headers = 'From: contact_us@caminator.com' . "\r\n" .
'Reply-To: contact_us@caminator.comt' . "\r\n" .
'X-Mailer: PHP/' . phpversion();
mail($to, $subject, $message, $headers);
header("Location:thanks.php");
?>
[/code]