Commit f665f177 authored by Cedrick Copol's avatar Cedrick Copol

A modifier l'entree des bdd

parent a631901e
......@@ -109,6 +109,20 @@ function updateForm(){
}
}
var xhr=new XMLHttpRequest(); // creation de l'objet
xhr.open('POST','/signalements/writebdd.php', true);
xhr.setRequestHeader('Content-Type','application/x-www-form-urlencoded');
xhr.send("nom="+user.nom+"&prenom="+user.prenom+"&description="+user.description);
// ("'.$_POST['nom'].'" ,
// "'.$_POST['prenom'].'" ,
// "quartier",
// "'.strtolower($_POST['description']).'" ,
// "16.250418, -61.586514" ,
// "'.date("Ymd-H:i:s").'",
// "'.$MAC.'")';
}
function get_users()
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment