Site SVNET Libre
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

22 lines
631 B

// Check for empty fields
if(empty($_POST['name']) ||
empty($_POST['email']) ||
//empty($_POST['phone']) ||
empty($_POST['message']) ||
echo "Aucun champ valide !";
return false;
$name = strip_tags(htmlspecialchars($_POST['name']));
$email_address = strip_tags(htmlspecialchars($_POST['email']));
//$phone = strip_tags(htmlspecialchars($_POST['phone']));
$message = strip_tags(htmlspecialchars($_POST['message']));
return true;