+ -
当前位置:首页 → 问答吧 → 怎么获取表单中的多条数据

怎么获取表单中的多条数据

时间:2011-08-28

来源:互联网

<form action="__URL__/inster/" method="post">

<input style="width:90%; height:18px;" type="text"  class="input-text" name="type"  id="type" value=""/>
<input style="width:90%; height:18px;" type="text"   class="input-text" name="money"  id="money" value=""/>
<textarea style="width:90%; height:11px;"class="" name="bask" cols="32"  id="bask" /></textarea>


</form>

中间的数据用JS增加了多条,在Action中怎么写循环。

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

其实和多文件上传的原理应该一样的 ,用数组可以了

作者: ygwphp   发布时间: 2011-08-28