I am currently trying to call a php-script via this code:
$.ajax({
url: "test.php",
type: "GET",
success: function(data)
{
console.log(data);
},
error: function (xml, error) {
console.log(error);
}});
The .php-File only contains
echo "TEST"
The problem is: All I get displayed in the console is a weird block of question marks...