0

Trying use varible for name in data. I need to get this: $_POST['specialName'];

 sampleName = "specialName";

$.ajax({
    url: url,
    type: "POST",
    data: {
        sampleName: value
    },
    success: function(data) {};
});

0 Answers0