on (press) {
var query = new LoadVars();
query.onLoad = function(s) {
if (s != false && this["error"] == undefined) {
var a = 0;
while (this["nome"+a] != undefined) {
nome.variable = (this["nome"+a]);
cognome.variable = (this["cognome"+a]);
email.variable = (this["email"+a]);
country.variable = (this["country"+a]);
college.variable = (this["college"+a]);
password.variable = (this["password"+a]);
a++;
}
} else if (this["error"] != undefined) {
trace(this["error"]);
} else {
trace("Errore in caricamento file.");
}
};
query.load("prova.php");
}