I create a html, and after I submit, the ajax should send a message to php, but my php doesn't get this data, please tell me how do I do, thank you.
function SendData(){
$.ajax({
type: "GET",
url: "client.php?m=submit",
success: function(data){
alert("success");
},
error: function(data){
alert("error");
}
});
}
php code always nothing, I know the m isn't exist, but I don't understand.
$message = isset($_GET['m']);
echo $message;