where条件是数组,order怎么写才能以查询条件顺序进行排列

浏览:1437 发布日期:2013/11/21 分类:求助交流 关键字: 排序问题
$arr=array(800003,800001,800009……);
$proid['p_num'] = array('in',$arr);
$addcar=D('prodcetRelation')->where($proid)->order()->relation(true)->select();
怎么样写才能让输出顺序和查询顺序一样.
最佳答案
评论( 相关
后面还有条评论,点击查看>>