配列の問題については、元の配列を再結合します:
<br />$arr=array<br />(<br /> [0] => Array<br /> (<br /> [caseid] => 31<br /> [name] => 张三<br /> [shijian] => Array<br /> (<br /> [0] => 8:00<br /> [1] => 18:00<br /> )<br /><br /> )<br /><br /> [1] => Array<br /> (<br /> [caseid] => 32<br /> [name] => 李四<br /> [shijian] => Array<br /> (<br /> [0] => 8:00<br /> [1] => 12:00<br /> [2] => 18:00<br /> )<br /><br /> )<br /><br /> [2] => Array<br /> (<br /> [caseid] => 33<br /> [name] => 王五<br /> [shijian] => Array<br /> (<br /> [0] => 8:00<br /> [1] => 12:00<br /> [2] => 18:00<br /> )<br /><br /> )<br /><br />)<br />
配列<br>(<br> [0] => 配列<br> (<br> [時間] => 8:00<br> [詳細] = > 配列<br> (<br> )<br> [1] => 配列<br> (<br> [caseid] => 32 [事件名] =>李思<br> <br> )<br> [2] => 配列<br> (<br> [ケースID] => 33<br> [ケース名] =>王五<br> <br> )<br><br> )<br><br> )<br> <br> [1] => 配列<br> (<br> [時間] => 12:00<br> [詳細] => 配列<br> (<br> <br> (<br><br>