搜索
系统检测到您的用户名不符合规范:

两个二维数组。合并成一个

浏览:3018 发布日期:2016年05月10日 分类:求助交流
Array
(
[0] => Array
(
[activityCategory] => 001
[activityId] => A2016051000000so
[activityName] => 014510160411035529
[activityStatus] => 0
[coverImgUrl] => http://static.live.letvcloud.com/images/default-pic.jpg
[createTime] => 20160510134516
[endTime] => 20160510164400
[liveNum] => 1
[needFullView] => 0
[needIpWhiteList] => 0
[needRecord] => 1
[needTimeShift] => 1
[neededPushAuth] => 1
[playMode] => 0
[pushIpWhiteList] =>
[pushUrlValidTime] => 1800
[startTime] => 20160510184400
[userCount] => 0
)

[1] => Array
(
[activityCategory] => 001
[activityId] => A2016051000000sn
[activityName] => 014506160411035529
[activityStatus] => 0
[coverImgUrl] => http://static.live.letvcloud.com/images/default-pic.jpg
[createTime] => 20160510134513
[endTime] => 20160510164400
[liveNum] => 1
[needFullView] => 0
[needIpWhiteList] => 0
[needRecord] => 1
[needTimeShift] => 1
[neededPushAuth] => 1
[playMode] => 0
[pushIpWhiteList] =>
[pushUrlValidTime] => 1800
[startTime] => 20160510184400
[userCount] => 0
)

[2] => Array
(
[activityCategory] => 001
[activityId] => A2016051000000ny
[activityName] => 阿斯蒂芬
[activityStatus] => 0
[coverImgUrl] => http://static.live.letvcloud.com/images/default-pic.jpg
[createTime] => 20160510122441
[description] => 阿斯顿发顺丰的
[endTime] => 20160510162400
[liveNum] => 1
[needFullView] => 0
[needIpWhiteList] => 0
[needRecord] => 1
[needTimeShift] => 1
[neededPushAuth] => 1
[playMode] => 0
[pushIpWhiteList] =>
[pushUrlValidTime] => 1800
[startTime] => 20160510142400
[userCount] => 0
)
)



Array
(
[0] => Array
(
[id] => 103
[active_name] => 55555
[active_time] => 2016年05月10日 13:45:10
[active_stime] => 2016年05月10日 18:44:00
[active_etime] => 2016年05月10日 16:44:00
[active_type] => 业余赛事
[active_img] => 未开始
[active_pid] => 160411035529
[active_cont] => 时代风帆
[active_state] => 未开始
[active_infoauthid] =>
[active_infoauthname] =>
[active_id] => 014510160411035529
[activityId] => A2016051000000so
[active_num] =>
)

[1] => Array
(
[id] => 102
[active_name] => 55555
[active_time] => 2016年05月10日 13:45:06
[active_stime] => 2016年05月10日 18:44:00
[active_etime] => 2016年05月10日 16:44:00
[active_type] => 业余赛事
[active_img] => 未开始
[active_pid] => 160411035529
[active_cont] => 时代风帆
[active_state] => 未开始
[active_infoauthid] =>
[active_infoauthname] =>
[active_id] => 014506160411035529
[activityId] => A2016051000000sn
[active_num] =>
)

[2] => Array
(
[id] => 101
[active_name] => 徐皓测试5-6 13
[active_time] => 2016年05月06日 13:42:38
[active_stime] => 2016年05月06日 13:44:00
[active_etime] => 2016年05月06日 13:54:00
[active_type] => 业余赛事
[active_img] => 20160506134236712.gif
[active_pid] => 160411035529
[active_cont] => 氢气球
[active_state] => 未开始
[active_infoauthid] =>
[active_infoauthname] =>
[active_id] => 014238160411035529
[activityId] => A2016050600000r7
[active_num] =>
)

[3] => Array
(
[id] => 100
[active_name] => 徐皓测试
[active_time] => 2016年05月06日 13:41:22
[active_stime] => 2016年05月06日 13:43:00
[active_etime] => 2016年05月07日 00:00:00
[active_type] => 业余赛事
[active_img] => 20160506134053609.jpg
[active_pid] => 160411035529
[active_cont] => 氢气球
[active_state] => 未开始
[active_infoauthid] =>
[active_infoauthname] =>
[active_id] => 014122160411035529
[activityId] => A2016050600000qz
[active_num] =>
)

[4] => Array
(
[id] => 99
[active_name] => 阿斯蒂芬爱的色放
[active_time] => 2016年05月06日 12:31:29
[active_stime] => 2016年05月06日 14:31:00
[active_etime] => 2016年05月06日 17:31:00
[active_type] => 业余赛事
[active_img] => 未开始
[active_pid] => 160411035529
[active_cont] => 阿斯蒂芬
[active_state] => 未开始
[active_infoauthid] =>
[active_infoauthname] =>
[active_id] => 123129160411035529
[activityId] => A2016050600000md
[active_num] =>
)
)



两个二维数组。activityId一样的合并成一个。把上面这个数组的activityStatus赋给第二个数组
最佳答案
评论() 相关
后面还有条评论,
评论支持使用[code][/code]标签添加代码
您需要登录后才可以评论 登录 | 立即注册
收藏
4暮
积分:2575 等级:LV3
热点推荐
(追記) (追記ここまで)
最新更新

我们

合作

网站

信息

ThinkPHP 是一个免费开源的,快速、简单的面向对象的 轻量级PHP开发框架 ,创立于2006年初,遵循Apache2开源协议发布,是为了敏捷WEB应用开发和简化企业应用开发而诞生的。ThinkPHP从诞生以来一直秉承简洁实用的设计原则,在保持出色的性能和至简的代码的同时,也注重易用性。并且拥有众多的原创功能和特性,在社区团队的积极参与下,在易用性、扩展性和性能方面不断优化和改进,已经成长为国内最领先和最具影响力的WEB应用开发框架,众多的典型案例确保可以稳定用于商业以及门户级的开发。

AltStyle によって変換されたページ (->オリジナル) /