会员
周边
众包
新闻
博问
闪存
所有博客
当前博客
a56爆大奖在线娱乐的博客
a56爆大奖在线娱乐的园子
账号设置
简洁模式
...
退出登录
注册
登录
奥雷连诺
博客园
首页
新随笔
联系
订阅
管理
2018年9月14日
thinkphp getField("xxxxx", true); 得到一个字段所有值组成的的数组
摘要: $Channel = D('channel');$channelList = $Channel->order('user_name')->getField("source", true); //不带true只能查到一个值 echo json_encode($channelList); //输出 ["
阅读全文
posted @ 2018-09-14 17:26 奥雷连诺
阅读(1129)
评论(0)
推荐(0)
编辑
公告