I am new to PHP and I'd like the following form to require all fields. I am unsure whether or not this is possible since I am so new to this language. Here is the code. Any help would be useful!
<?php $name = $_POST['name']; $email = $_POST['email']; $message = $_POST['message']; $body = "$name has requested a tutor, here is a transcript of their message: $message"; $headers = "From: $email"; mail("email@example.com, $email", "New Request for Tutor", $body, $headers); header("Location: confirmation.html"); ?>