Contacting mysql from inside Animate via php (v5.6.32)
I think this could be achievable ... any suggestions? Thank you!


I think this could be achievable ... any suggestions? Thank you!


i use:
function sendDataF(methodS,dataTypeS,urlS,dataObj,f){
$.ajax({
// the URL for the request
url : urlS;
// the data to send
data : dataObj,
// whether this is a POST or GET request
type : methodS,
// the type of data returned
dataType : dataTypeS,
// code to run if the request succeeds;
// the response is passed to the function
success : f,
// code to run if the request fails;
error: function(ts) { alert(ts.responseStatus); },
error : function(xhr, status) {
var errorS = '';
for(s in xhr){
errorS += s+' : '+xhr+'\n';
}
alert('Sorry, there was a problem!\n'+errorS+'\nstatus:'+status);
},
// code to run regardless of success or failure
complete : function(xhr, status) {
var errorS = '';
for(s in xhr){
errorS += s+' : '+xhr+'\n';
}
}
});
}
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.