if ($contact) { // if $submit is present, send comments $message = "Name: $name \n\nEmail: $email \n\n"; $message .= "Comments: $comments \n\n"; mail ( "info@audioandvoiceovers.com", "Ron Louis Productions Website Comments", "$message", "From: $email\nX-Mailer: My PHP Script\n"); //mail ( "emma@redacorn.net", "Ron Louis Productions Website Comments", "$message", "From: $email\nX-Mailer: My PHP Script\n"); // and finally, refresh so they don't get the post error header( "Location: $PHP_SELF?thanks=1" ); } ?>