I have here my AJAX code:
$.ajax({
url: url,
type: type,
data: data,
success: function(response){
if ($returnValue == "success") {
alert("+");
}
else {
alert("-");
}
}
});
The code works. But how can i get a value in $returnValue via PHP? Something like this dont't work:
PHP
<?php return $returnValue; ?>