Hi,
Yes i am using ProcessWire. Basically file called “subcriberList.php” contains an insert query like write in corePHP to insert a record in database table.
And 'subcriberList.php' is present in the template folder.
Hello everyone,
i am using the following code ajax code to insert in table but unable to get the result
$.ajax({
url: 'subcriberList.php',
data: {'email' : email,'name' : name},
type: 'post',
success: function(success)
{
swal({
title: "Thank you for subscribing!",
icon: "success",
});
}
});