表单中增加行代码怎么写
时间: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>
下面是表单代码
<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
相关阅读 更多
热门阅读
-
office 2019专业增强版最新2021版激活秘钥/序列号/激活码推荐 附激活工具
阅读:74
-
如何安装mysql8.0
阅读:31
-
Word快速设置标题样式步骤详解
阅读:28
-
20+道必知必会的Vue面试题(附答案解析)
阅读:37
-
HTML如何制作表单
阅读:22
-
百词斩可以改天数吗?当然可以,4个步骤轻松修改天数!
阅读:31
-
ET文件格式和XLS格式文件之间如何转化?
阅读:24
-
react和vue的区别及优缺点是什么
阅读:121
-
支付宝人脸识别如何关闭?
阅读:21
-
腾讯微云怎么修改照片或视频备份路径?
阅读:28