ok so i have this php script
<?php
$whoto = "*************"
$tvname = trim($_POST["tvname"]); //text
$age = trim($_POST["age"]); //text
$rec = $_POST["rec"]; //dropdown
$msg = trim($_POST["msg"]); //text
$name = trim($_POST["name"]); //text
$email = trim($_POST["email"]); //text
if (!isset($tvname) || !isset($age) || !isset($rec) || !isset($msg) || !isset($name) || !isset($email)) {
echo "<strong>Please go back and fill in all the fields</strong>";
exit();
}
$subject = "New user: $tvname";
$message = 'Tribes Vengeance Name: $tvname
Age: $age
Recruited By: $rec
They have: $msg
Real Name: $name
Email: $email';
$headers = 'From: webmaster@' . $_SERVER['SERVER_NAME'] . "
" .
'Reply-To: webmaster@' . $_SERVER['SERVER_NAME'] . "
" .
'X-Mailer: PHP/' . phpversion();
mail($whoto, $subject, $message, $headers);
echo "Email Sent<BR>A reply will be sent to you to the email specified";
?>
I got a tvarable error on line 4 why is that??