我在php中得到以下数组,
[
{
Name0: "TEST",
Value0: "13",
Timestamp0: "2012-01-02 00:00:13"
},
{
Name0: "TEST",
Value0: "16",
Timestamp0: "2012-01-02 00:10:45"
}
],
[
{
Name1: "TEST",
Value1: "30",
Timestamp1: "2012-01-02 00:00:13"
},
{
Name1: "TEST",
Value1: "60",
Timestamp1: "2012-01-02 00:10:45"
}
]
更进一步,我希望它如下
[
{
Name0: "TEST",
Value0: "13",
Timestamp0: "2012-01-02 00:00:13",
Name1: "TEST",
Value1: "30",
Timestamp1: "2012-01-02 00:00:13"
},
{
Name0: "TEST",
Value0: "16",
Timestamp0: "2012-01-02 00:10:45",
Name1: "TEST",
Value1: "60",
Timestamp1: "2012-01-02 00:10:45"
}
]
这真的让我的大脑array_merge
和其他一些事情崩溃了 ;-) 希望有人能在这里帮助我吗?