将此提交按钮添加到折叠后会被禁用吗?

时间:2016-09-03 18:24:16

标签: jquery html twitter-bootstrap

我添加了这个崩溃,并添加了一个表单,但提交按钮不起作用,并将数据发送到PHP文件。

     <div class="container">
        <div class="row">
            <div class="col-md-4">
                <h3><strong>Login</strong></h3>
                <p></p>
                <form class="signup-form" action="checklogin.php" method="POST" role="form">
                    <div class="form-input-group">
                        <i class="fa fa-envelope"></i><input type="text" name="username" placeholder="Enter Username" required>
                    </div>
                    <div class="form-input-group">
                        <i class="fa fa-lock"></i><input type="password" name="password" placeholder="Enter your password" required>
                    </div>
                    <div class="form-input-group">
                            <input type="submit" value="submit" id="submit1" name="submit" class="btn-fill sign-up-btn" style="background-color:#222222;color:#ffffff;">
                    </div>
                </form>
            </div>

内容仅与1.0版相关。

            <div class="col-md-4">
                <h3><strong>Register</strong></h3>
                <p></p>
                <form class="signup-form" action="checkreg.php" method="POST" role="form">
                    <div class="form-input-group">
                        <i class="fa fa-user"></i><input type="text" name="username" placeholder="Choose username" required>
                    </div>
                    <div class="form-input-group">
                        <i class="fa fa-envelope"></i><input type="text" name="email" placeholder="Enter your email" required>
                    </div>
                    <div class="form-input-group">
                        <i class="fa fa-lock"></i><input  type="password" name="password" placeholder="Choose your password" required>
                    </div>
                    <div class="form-input-group">
                        <input type="submit" value="submit" id="submit2" name="submit" class="btn-fill sign-up-btn" style="background-color:#222222;color:#ffffff;">
                    </div>
            </form>

            </div>
            <div class="col-md-4">
                <h3><strong>Social Login </strong></h3>
                <p></p>

                    <ul style="list-style:none">
                        <li style="list-style:none"><button class='custom-login fb-login' onclick='fblogin()'><div class='custom-div1'><img src='fb29.png'/></div><div class='custom-div2'>Sign in with Facebook</div></button></li>
                        <li style="list-style:none"><button class='custom-login go-login'><div class='custom-div1'><img src='google.png'/></div><div class='custom-div2'>Sign in with Google+</div></li>

                    </ul>

        </div>
    </div>
</div>




</section>

请帮忙...提前谢谢

1 个答案:

答案 0 :(得分:0)

根据评论,您的PHP代码中存在语法错误。修复第一个

应用程序可能无效,或者可能存在暂时的故障。请稍后再试。 10(索引):27
解析错误:语法错误,意外'$ conn'(T_VARIABLE)