判断数据库内不为空的字段(tp3)
$where['vdoid']=array('neq','');//eq=>等于
$video = M('new')->where($where)->order("id desc")->select();
只是一个小菜鸟,在不断完善自己的知识,如有不对,请指出问题
世人慌慌张张,不过图碎银几两。
$where['vdoid']=array('neq','');//eq=>等于
$video = M('new')->where($where)->order("id desc")->select();