Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/php/268.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 提交按钮不工作。单击“创建帐户”按钮时未执行任何操作_Php_Html_Twitter Bootstrap - Fatal编程技术网

Php 提交按钮不工作。单击“创建帐户”按钮时未执行任何操作

Php 提交按钮不工作。单击“创建帐户”按钮时未执行任何操作,php,html,twitter-bootstrap,Php,Html,Twitter Bootstrap,这是我工作的表格。我希望它将数据发送到1.php,但当我单击createaccount按钮时。请告诉我这个代码有什么问题 <div class="logmod__form"> <form accept-charset="utf-8" action="1.php" class="simform" method="post"> <div class="sminputs"> <div class="input full">

这是我工作的表格。我希望它将数据发送到1.php,但当我单击createaccount按钮时。请告诉我这个代码有什么问题

<div class="logmod__form">
  <form accept-charset="utf-8" action="1.php" class="simform" method="post">
    <div class="sminputs">
      <div class="input full">
        <label class="string optional" for="user-name">Email*</label>
        <input class="string optional" maxlength="255" id="user-email" placeholder="Email" type="email" size="50" />
      </div>
    </div>
    <div class="sminputs">
      <div class="input string optional">
        <label class="string optional" for="user-pw">Password *</label>
        <input class="string optional" maxlength="255" id="user-pw" placeholder="Password" type="text" size="50" />
      </div>
      <div class="input string optional">
        <label class="string optional" for="user-pw-repeat">Repeat password *</label>
        <input class="string optional" maxlength="255" id="user-pw-repeat" placeholder="Repeat password" type="text" size="50" />
      </div>
    </div>
    <div class="simform__actions">
      <input class="sumbit" name="commit" type="sumbit" value="Create Account" />
      <span class="simform__actions-sidetext">By creating an account you agree to our <a class="special" href="#" target="_blank" role="link">Terms & Privacy</a></span> </div>
  </form>
</div>

电子邮件*
密码*
重复密码*
通过创建帐户,您同意我们的

在按钮中更正它

type="submit"
您的字段中缺少
name
属性,如果没有该属性,则不会提交任何内容

<input class="string optional" maxlength="255" id="user-pw-repeat" placeholder="Repeat password" type="text" size="50"  name="user-pw-repeat"/>

Typo
type=“sumbit”