Making the Fields required in a Contact Form
<?php if(isset($_POST['submit'])) { $myemail = "your-email-address@here.com"; $subject = $_POST['subject']; $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message']; $headers = "From:Contact Form <$myemail>\r\n"; $headers .= "Reply-To: $name <$email>\r\n"; echo "Your ... [read more]