Hi PHP Experts, I’m a total newbie in PHP, I’m trying to modify this script, What I want is to display the result of what the user type in after they’ve clicked the submit button. Can somebody please tell me which script I need to change. Thanks
[code]<?PHP
/* SUBJECT AND EMAIL VARIABLE */
$emailSubject = ’ crazy php scripting ';
$webMaster = '[email protected] ';
/* gathering data variable */
$emailField = $_POST['email'] ;
$nameField = $_POST['name'] ;
$phoneField = $_POST['phone'] ;
$budgetField = $_POST['budget'] ;
$travelersField = $_POST['travelers'] ;
$commentsField = $_POST['comments'] ;
$newsletterField = $_POST['newsletter'] ;
$body = <<<EOD
Email : $email
Name : $name
Phone : $phone
Budget : $budget
Number of Travelers : $travelers
Comments : $comments
Newsletter : $newsletter
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
?>[/code]