提交表格问题

时间:2017-03-29 23:26:27

标签: php html forms

我已经创建了一个PHP表单,我想在我的SQL上添加数据 请检查我的代码在哪里是我的代码没有工作的问题 我想在我的PHPadmin上添加所有这个字段 但是当我输入详细信息并点击付款时它不起作用 我还添加了表单动作=" insert.php" 这是代码

<div class="agileits_main_grid_right">
                <div class="wthree_payment_grid">
                    <h2>Seleccione Método de pago</h2>
                    <div id="horizontalTab">
                        <ul class="resp-tabs-list">
                            <li><img src="images/1.jpg" alt=" " /></li>
                            <li><img src="images/2.jpg" alt=" " /></li>
                        </ul>
                        <div class="resp-tabs-container">
                            <div class="agileits_w3layouts_tab1">
                                <form action="insert.php" method="post" class="creditly-card-form agileinfo_form">





                                    <section class="creditly-wrapper wthree, w3_agileits_wrapper">
                                        <div class="credit-card-wrapper">
                                            <div class="first-row form-group">
                                                <div class="controls">
                                                    <label class="control-label">Name on Card</label>
                                                    <input class="billing-address-name form-control" type="text" name="name" placeholder="John Smith">
                                                </div>
                                                <div class="w3_agileits_card_number_grids">
                                                    <div class="w3_agileits_card_number_grid_left">
                                                        <div class="controls">
                                                            <label class="control-label">Card Number</label>
                                                            <input class="number credit-card-number form-control" type="text" name="number"
                                                                          inputmode="numeric" autocomplete="cc-number" autocompletetype="cc-number" x-autocompletetype="cc-number"
                                                                          placeholder="&#149;&#149;&#149;&#149; &#149;&#149;&#149;&#149; &#149;&#149;&#149;&#149; &#149;&#149;&#149;&#149;">
                                                        </div>
                                                    </div>
                                                    <div class="w3_agileits_card_number_grid_right">
                                                        <div class="controls">
                                                            <label class="control-label">CVV</label>
                                                            <input class="security-code form-control"·
                                                                          inputmode="numeric"
                                                                          type="text" name="security-code"
                                                                          placeholder="&#149;&#149;&#149;">
                                                        </div>
                                                    </div>
                                                    <div class="clear"> </div>
                                                </div>
                                                <div class="controls">
                                                    <label class="control-label">Expiration Date</label>
                                                    <input class="expiration-month-and-year form-control" type="text" name="expiration-month-and-year" placeholder="MM / YY">
                                                </div>
                                            </div>
                                            <button class="submit"><span>Make a payment <i class="fa fa-long-arrow-right" aria-hidden="true"></i></span></button>
                                        </div>
                                    </section>
                                </form>
                            </div>

0 个答案:

没有答案