HTML表单提交无法打开新网站/根本无法打开网站

时间:2015-10-29 14:03:37

标签: javascript php html forms

几个小时后寻找答案,我仍然没有找到解决问题的方法。我有一个非常基本的形式与一些复选框输入。但是提交按钮不会打开用于处理数据的PHP脚本。

以下是表格:

<form name="request" action="request.php" method="get">

                <h2 id="sum">5.99€</h2>
                <h6>Per Month</h6>
                <input type="hidden" name="hide">
                <!--The Hidden Input is there for testing purposes-->
                <input type="submit">
            </form>

以下是该部分的完整代码:

<section id="contact">
    <div class="container">
        <div class="col-lg-12 text-center">
        <h2 class="section-heading">Ordering Form</h2>
        <p class="text-muted">Choose some web essentials and add them to your plan
        <br><a class="page-scroll">Get to know the essentials</a></p><br>
        <form name="request" action="request.php" method="get">


            <h2 id="sum">5.99€</h2>
            <h6>Per Month</h6>
            <input type="hidden" name="hide">
            <!--The Hidden Input is there for testing purposes-->
            <input type="submit">
        </form>
            <script type="text/javascript">
                //Some JavaScript which doesn't have anything to do with the form
            </script>
        </div>
    </div>
</section>

当我点击提交按钮时,它只是没有做任何事情。没有错误消息,没有404,没有PHP错误。

希望你能帮助我!

0 个答案:

没有答案