jQuery AJAX how to pass PHP echo to success parameter
So I was learning ajax and followed some codes I found online but didn't know how to pass the value from the PHP. so this is my email.php $conn = mysqli_connect($servername, $username, $password, $db); $email = $_POST['email']; $query = "SELECT…