我在登录页面中工作,当用户单击登录按钮时,这是一种模态形式,模态形式出现在这里是吗
<!-- Signin Window Code -->
<div class="modal fade" id="signup" tabindex="-1" role="dialog" aria-labelledby="myModalLabel2" aria-hidden="true">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-body">
<form action ="login.php" method="POST" id="frmLogin">
<div class="new-logwrap">
<div class="form-group">
<label>Email</label>
<div class="input-with-icon">
<input type="email" class="form-control" name="login_email" id = "email_login" placeholder="Enter Your Email" required>
<i class="theme-cl ti-email"></i>
</div>
</div>
<div class="form-group">
<label>Password</label>
<div class="input-with-icon">
<input type="password" class="form-control" name="login_pass" id = "pass_login" placeholder="Enter Your Password" required>
<i class="theme-cl ti-lock"></i>
</div>
</div>
<div class="form-groups">
<button type="submit" name="login" id="logBtn" class="btn btn-primary theme-bg full-width .login">Login</button>
</div>
<!-- error message will show here -->
<div id="ack"></div>
当用户验证失败时,它会在模态窗体上显示错误,但问题是如果验证成功,要重定向的页面将在模态窗体上被覆盖,即它不是重定向,而是在模态本身上显示下一页,这是我的 php 代码
杨__羊羊