skip to Main Content

SMTP email not working in PHP – CPanel

code: <?php include 'library.php'; include "classes/class.phpmailer.php"; if(isset($_POST['submit'])) { $email = $_POST['email']; $sql = "select email from login where email='".$email."'"; $results = mysqli_query($con,$sql); $fetch = mysqli_num_rows($results); if($fetch > 0) { echo "<p id='red'>Email already exist. Please register with different email id.</p>";…

VIEW QUESTION
Back To Top
Search