请看下面的数组,我想在数组while循环中隐藏6和7,因为它们在第一个数组中,基本上是它的时间。第一个数组包含约会,第二个数组包含时间。如果用户当时已经固定在某个地方,我想省略计时(第二个数组)。所以基本上时间比较与 strtotime 整数..需要你的帮助....
Array
(
[3] => Array
(
[id] => 100
[start] => 1364558400
[end] => 1364565600
[starttime] => 2013-03-29 17:30:00
[endtime] => 2013-03-29 19:30:00
)
[4] => Array
(
[id] => 100
[start] => 1364542200
[end] => 1364549400
[starttime] => 2013-03-29 13:00:00
[endtime] => 2013-03-29 15:00:00
)
)
Array
(
[6] => Array
(
[id] => 37
[start] => 1364542200
[end] => 1364549400
[starttime] => 2013-03-29 13:00:00
[endtime] => 2013-03-29 15:00:00
)
[7] => Array
(
[id] => 38
[start] => 1364549400
[end] => 1364556600
[starttime] => 2013-03-29 15:00:00
[endtime] => 2013-03-29 17:00:00
)
[8] => Array
(
[id] => 39
[start] => 1364558400
[end] => 1364565600
[starttime] => 2013-03-29 17:30:00
[endtime] => 2013-03-29 19:30:00
)
[9] => Array
(
[id] => 40
[start] => 1364565600
[end] => 1364571000
[starttime] => 2013-03-29 19:30:00
[endtime] => 2013-03-29 21:00:00
)
)