forked from rebillar/site-accueil-insa
test
This commit is contained in:
parent
3834cb507d
commit
61e29f0d34
1 changed files with 3 additions and 0 deletions
|
@ -25,8 +25,11 @@ if($user['perm'] < 3) {
|
||||||
|
|
||||||
if(isset($_POST["AJ_MOT"])){
|
if(isset($_POST["AJ_MOT"])){
|
||||||
|
|
||||||
|
echo "set";
|
||||||
$mot = htmlspecialchars($_POST["mot"]);
|
$mot = htmlspecialchars($_POST["mot"]);
|
||||||
|
echo "htsp";
|
||||||
$req = $db->prepare("INSERT INTO mots_croise(name,trouve) VALUES(?,?)");
|
$req = $db->prepare("INSERT INTO mots_croise(name,trouve) VALUES(?,?)");
|
||||||
|
echo "prep";
|
||||||
$req->execute(array($mot,FALSE));
|
$req->execute(array($mot,FALSE));
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue