diff --git a/vacances.php b/vacances.php
index db1f1cd..09b6b2a 100644
--- a/vacances.php
+++ b/vacances.php
@@ -34,9 +34,22 @@ if(isset($_POST["team"])){
?>prepare("SELECT * FROM mots_croise WHERE name=? AND id=? AND trouve=?");
+ $req->execute(array(htmlspecialchars($_POST["mot"]),(int) $_POST["id_mot"],TRUE));
+ $mot_exist = $req->rowCount();
+
+ if($mot_exist == 1){
+ ?>rowCount() == 0){
\ No newline at end of file
+?>