thinkphp DB查询怎么使用多条件or?
以下代码查询type=15 如果想改成查询type=15以及type=16 如何修改?
尝试使用whereor发现不对。
$where['status'] = array('=', 1);//status
$where['type'] = array('=', 15);//type
$orderby = 'id desc';