控制文档类

时间:2017-10-08 09:34:46
【文件属性】:

文件名称:控制文档类

文件大小:1KB

文件格式:PHP

更新时间:2017-10-08 09:34:46

Wenxin

好资源共分享!快来看看吧if(IS_POST){ if(isset($_POST['sname'])&&$_POST['sname']!=""){ $map['sname']=$_POST['sname']; $where.=" and a.shopname like '%%%s%%'"; } if(isset($_POST['slogin'])&&$_POST['slogin']!=""){ $map['slogin']=$_POST['slogin']; $where.=" and a.account like '%%%s%%'"; } if(isset($_POST['phone'])&&$_POST['phone']!=""){ $map['phone']=$_POST['phone']; $where.=" and a.phone like '%%%s%%'"; } if(isset($_POST['agent'])&&$_POST['agent']!=""){ $map['agent']=$_POST['agent']; $where.=" and b.name like '%%%s%%'"; } $_GET['p']=0; }else{ if(isset($_GET['sname'])&&$_GET['sname']!=""){ $map['sname']=$_GET['sname']; $where.=" and a.shopname like '%%%s%%'"; } if(isset($_GET['slogin'])&&$_GET['slogin']!=""){ $map['slogin']=$_GET['slogin']; $where.=" and a.account like '%%%s%%'"; } if(isset($_GET['phone'])&&$$_GET['phone']!=""){ $map['phone']=$_GET['phone']; $where.=" and a.phone like '%%%s%%'"; }


网友评论