$email,'password'=>$password, 'Is_verify'=>1)); if(!$login){ $theMsg2 = '
Username OR password is incorrect .
'; } else{ $hebeotp = rand(1111, 9999); if (sendOtp($email,$hebeotp)) { $msg = "OTP resended successfully."; $_SESSION["rehebeotp"] = $hebeotp; } else { $error = 'Something wrong! try again.'; } //echo "sucess"; header('location:otp.php?type=login'); } } } ?> IIT - Community
Username OR password is incorrect .