3.2版本 查询条件的三元运算怎么写

浏览:767 发布日期:2013/12/12 分类:求助交流
3.2版本 查询条件的三元运算怎么写?
$list =$video->where(array('show'=>'1',$gradeNumber?'grade'=>$gradeNumber:''))->select(); 这样是不正确的,应该怎么写?
最佳答案
评论( 相关
后面还有条评论,点击查看>>