+ -
当前位置:首页 → 问答吧 → 表单中增加行代码怎么写

表单中增加行代码怎么写

时间:2011-08-27

来源:互联网

添加的多条数据又要怎么要才能插入成功呢.求高人解答!先谢过!
下面是表单代码
<form action="__URL__/inster/" method="post">
<table cellpadding=0 cellspacing=0 class="table_form" width="100%">
<tr>
  <td width="120">物料名称</td>
        <td id="box_title">
  <input type="text"  class="input-text " name="name"  id="name" value="" size="30"/> <font color="red">*</font></td>
</tr><tr>
  <td width="120">物料价格</td>
        <td id="box_username">
  <input type="text"   class="input-text " name="gold"  id="gold" value="" size="30"/> <font color="red">*</font> 注意[板材以(公斤/元),管型材为(米/元)]为单位 </td>
</tr><tr>
  <td width="120">物料密度</td>
        <td id="box_telephone">
    <input type="text"   class="input-text " name="density"  id="density" value="0" size="30"/>
    按密度报价的物料填相应值,其它物料默认0即可</td>
</tr><tr>
  <td width="120">材料备注</td>
        <td id="box_content">
  <textarea  class="" name="bask"  rows="6" cols="50"  id="bask" /></textarea>  </td>
</tr>
  </table>
  <div id="bootline"></div>
  <div id="btnbox" class="btn">
  <INPUT TYPE="submit"  value="提交" class="button" />
  </div>
</form>

作者: hygzs   发布时间: 2011-08-27

我要加一个在添加数据时可以增加一行,也就是一条新信息,这样同时插入多条.

作者: hygzs   发布时间: 2011-08-27