From 5eb712053b4bc56023c00b9ef47b5a5e823e3af2 Mon Sep 17 00:00:00 2001 From: thaaoblues Date: Sun, 2 Jul 2023 19:30:06 +0200 Subject: [PATCH] tweaks --- admin/index.php | 9 ++++++++- admin/mots_croises.php | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/admin/index.php b/admin/index.php index eb59d14..9f4f81d 100644 --- a/admin/index.php +++ b/admin/index.php @@ -1,6 +1,10 @@ diff --git a/admin/mots_croises.php b/admin/mots_croises.php index e45eb57..d8e3271 100644 --- a/admin/mots_croises.php +++ b/admin/mots_croises.php @@ -28,6 +28,8 @@ if($user['perm'] < 3) { $mot = htmlspecialchars($_POST["mot"]); $req = $db->prepare("INSERT INTO mots_croise(name,trouve) VALUES(?,?)"); $req->execute(array($mot,FALSE)); + + echo "ajt"; } if(isset($_POST["SUPP_MOT"])){