It’s being sent from the javascript file:
// --------------------------------- start AJAX -------------------------------//
function postIt() {
alert(wstore);
var realname = myName;
var rightAnswers = correct;
var percentageScore = percentage;
var asked = numq;
var mins = minutes;
var secs = seconds;
var deliver = destination;
var testName = test;dataString = wstore ; // array var wrongArray = JSON.stringify(dataString);
$.ajax({
type: “POST”,
url: ‘…/mail/testSum.php’,
data: {wrongArray : wrongArray, realname:realname, rightAnswers:rightAnswers, percentageScore:percentageScore, asked:asked, mins:mins, secs:secs, deliver:deliver, testName:testName},
cache: false,
success: function(){
//alert(“OK”);
}
});
}