TP5的whereOr方法多條件存在

$where['a'] = '1'; $where['b'] = '2'; $where['c'] = '3'; $whereOr['a'] = '1'; $whereOr['b'] = '2'; $whereOr['c'] = '3';  $data = Db::name('matorder')->where($where)->whereOr($whereOr)->select(); 這樣查出來
相關文章
相關標籤/搜索