如何查询关键词时间段的数据?

浏览:862 发布日期:2017/10/29 分类:求助交流
        $where['tel'] = array(
            'like',
            '%' . $keyword . '%'
        );
        $where['modelname'] = array(
            'like',
            '%' . $keyword . '%'
        );
        $where['remarks'] = array(
            'like',
            '%' . $keyword . '%'
        );
 $list = $data->order('id desc')->where($where)->select(); // 查询
当前表内字段建立了添加时间 createtime 如何在createtime指定时间内关键词查询出数据呀? 新手求救了   实在搞不懂了  希望帮助解答下。。。
最佳答案
评论() 相关
后面还有条评论,点击查看>>