thinkphp中where条件
$name=trim($_GET['name']);
$where['time'] = array('like',"$time%");
$where['chuanname'] = array('like',"$name%");
$where['_logic'] = 'and';
$page=isset($_GET['page'])?$_GET['page']:1;//第几页数
$limit = "limit ".($page-1)*$pageSize.",".$pageSize;