<?php if(empty($_POST['email'])){ echo "The email cannot be empty"; } $email = $_Post [‘email’]?? "The email cannot be empty"; ?>