dimanche 3 mai 2015

How can I save the result of this javascript into mySQL?

Hee is my code, however how can I save the result into mySQL DB?

var d1 = new Date();
var fp = new Fingerprint2();

fp.get(function(result) {
  var d2 = new Date();
  console.log("Time took to calculate the fingerprint: " + (d2 - d1) + "ms");
  console.log(result);
  document.getElementById("fp").innerHTML = result;

});

Aucun commentaire:

Enregistrer un commentaire