$strHeader = "Content-type: text/html; charset=windows-874\n"; // or UTF-8 // $strHeader .= "From: $customerName<$customerEmail>"; if ($submit) { // If they've submitted the form... if ($customerName <= "") ;//$message = "Please enter your name."; else if ($customerEmail <= "") ;//$message = "Please enter your email address."; else if ($customerComment == "") ;//$message = "Please choose a favorite color."; if ($message) // If we've set a message with a warning about their form entry... ;//echo ($message); else { // Otherwise, we'll send them a confirmation auto-response $message = "
From : | $customerName |
Email : | $customerEmail |
Website : | $customerWebsite |
$customerComment |