forked from rebillar/site-accueil-insa
test
This commit is contained in:
parent
7f0f8164be
commit
5be236f92e
1 changed files with 1 additions and 4 deletions
|
@ -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";
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue