$.ajax({
url
: "phppage.php",
type
: "post",
data
: {"variable":"value"},
});
In the php page I am accessing it using:
$variable = $_POST['variable'];
when I echo the variable, nothing is outputting.
I am not able to figure out where is the error. This is the first time I am using ajax.
Please help me.
Thanks