前台要怎么同时搜索姓名和卡号 开源系统 更新 2021-07-08 11:37:58 刘义 前台表单内容查询我做了个表单,内容为姓名、卡号、金额。前台要怎么同时搜索姓名和卡号,查询出相对应的一条表单金额记录呀?
<form action=" URL " method="post">
<label><font color="red">*</font>姓名:</label>
<input class="form-control" type="text" name="sname" id="dr_title" value="" style="width:200px;" required="required" />
<label class="control-label col-md-2">卡号:</label>
<input class="form-control" type="text" name="Zsedunum" id="dr_zsbh" value="" style="width:200px;" />
<div style="max-width:615px; margin-top:20px; text-align:center"><input type="submit" value="查询" name="submit" class="educxbut" style="line-height:24px; color:#fff; font-size:16px; margin-right:20px; padding:3px 20px; cursor:pointer;"/></div>
</form> 不应该是要用Form吗?【Amour】1楼