This commit is contained in:
thaaoblues 2023-07-02 19:42:29 +02:00
parent 7f0f8164be
commit 5be236f92e

View file

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