1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
| function enregistrer_xml() {
SortieSav.var_envoi = "<?xml version=\"1.0\" encoding=\"UTF-8\" ?>";
SortieSav.sendAndLoad("savexml.php", EntreeSav, "POST");
EntreeSav.onLoad = function(ok) {
if (ok) {
alerte = alerte + "première ligne réussi";
}
};
for (i=0; i<tabwinners.length; i++) {
SortieUp.var_envoi = "<joueur nom=\""+tabwinners[i][0]+"\" score=\""+tabwinners[i][0]+"\" />";
SortieUp.sendAndLoad("uploadxml.php",EntreeUp, "POST");
EntreeUp.onLoad = function(success) {
if (success) {
alerte = alerte + " c'est fini";
}
};
}
} |
Partager