if ($_POST['submit'] == "Submit") { $comment = $_POST['comment']; $to = "jstimpson@co.weber.ut.us" . ', '; // note the comma $to .= "ejohnson@co.weber.ut.us" . ', '; // note the comma $subject = 'Pre-Disaster Mitigation Plan'; $message = " Comments: $comment"; // To send HTML mail, the Content-type header must be set $headers = 'MIME-Version: 1.0' . "\r\n"; $headers .= 'Content-type: text/html; charset=iso-8859-1' . "\r\n"; // Additional headers $headers .= 'From: Weber County ' . "\r\n"; $headers .= 'Reply-To: ejohnson@co.weber.ut.us' . "\r\n"; // Mail it $mail_sent = @mail( $to, $subject, $message, $headers ); { $message = "Thanks for your comments "; } } ?> Weber County Pre-Disaster Mitigation Plan Pre-Disaster Mitigation Plan 2015 (Draft) Notice: Undefined variable: message in /var/www/localhost/htdocs/MitigationPlan2015.php on line 76 Mobile Friendly VersionPlease Leave your comments below Comments:
Comments: