i need to be able to aquire the info from my form and send it to my email but i think i have some thing wrong here, if anyone could help it would be appreciated. thanks.
<?php
/* Subject and Email Variables */
$emailSubject = 'Crazy PHP Scripting!';
$webMaster = 'littleangelmail@gmail.com';
/* Gathering Dara Variables */
$nameField = $_POST['name'];
$emailField = $_POST['email'];
$lettersubjectField = $_POST['lettersubject'];
$colorField = $_POST['color'];
$angelcharacterField = $_POST['angelcharacter'];
$recipientnameField = $_POST['recipientname'];
$cityField = $_POST['city'];
$streetnameField = $_POST['streetname'];
$friendsiblingField = $_POST['friendsibling'];
$genderField = $_POST['gender'];
$ageField = $_POST['age'];
$schoolField = $_POST['school'];
$fromField = $_POST['from'];
$toField = $_POST['to'];
$body = <<<EOD
<br><hr><br>
Name: $name <br>
Email: $emailfield <br>
Letter Subject: $lettersubject <br>
Color: $color <br>
Angel Character: $angelcharacter <br>
Recipient Name: $recipientname <br>
City: $city <br>
Street Name: $streetname <br>
Friendsibling: $friendsibling <br>
Gender: $gender <br>
Age: $age <br>
School: $school <br>
From: $from <br>
To: $to <br>
EOD;
$headers = "From: $email\r\n";
$headers .= "Content-type: text/html\r\n";
$success = mail($webMaster, $emailSubject, $body, $headers);
/* Results rendered as HTML */
$theResults = <<<EOD
?>