This commit is contained in:
thaaoblues 2023-07-02 19:39:57 +02:00
parent 3834cb507d
commit 61e29f0d34

View file

@ -25,8 +25,11 @@ if($user['perm'] < 3) {
if(isset($_POST["AJ_MOT"])){
echo "set";
$mot = htmlspecialchars($_POST["mot"]);
echo "htsp";
$req = $db->prepare("INSERT INTO mots_croise(name,trouve) VALUES(?,?)");
echo "prep";
$req->execute(array($mot,FALSE));
}