摘要: 1.Thinkphp的distinct(field)查询数据库用作查询去重时,如果后面加上order则是对distinct检索出来的结果进行排序,而不是先排序再distinct去重,曾经想通过order对检索结果进行顺序控制,发现失败!切记~~~~ 2.array_unique数组去重,当初想对一个 阅读全文
posted @ 2017-05-19 08:48 gxkx 阅读(138) 评论(0) 推荐(0) 编辑