我正面临有关多维数组的问题,请您帮我获取所有元素,提前谢谢。
Array ( [0] => stdClass Object
(
[employee_id] => 7007
[first_name] => phoukaothong
[0] => Array
(
[0] => Array
(
[0] => stdClass Object
(
[leave_code] => OL
[max_allow] => 10
[taken] => 1
)
)
[1] => Array
(
[0] => stdClass Object
(
[leave_code] => SL
[max_allow] => 15
[taken] => 0
)
)
[2] => Array
(
[0] => stdClass Object
(
[leave_code] => PL
[max_allow] => 10
[taken] => 0
)
)
[3] => stdClass Object
(
[0] => Array
(
[0] => stdClass Object
(
[leave_code] => AL
[max_allow] => 10
[taken] => 0
)
)
)
[4] => stdClass Object
(
[0] => Array
(
[0] => stdClass Object
(
[leave_code] => AL
[max_allow] => 10
[taken] => 0
)
)
)
)
)
[1] => stdClass Object
(
[employee_id] => 7009
[first_name] => william
[0] => Array
(
[0] => Array
(
[0] => stdClass Object
(
[leave_code] => OL
[max_allow] => 10
[taken] => 1
)
)
[1] => Array
(
[0] => stdClass Object
(
[leave_code] => SL
[max_allow] => 15
[taken] => 0
)
)
[2] => Array
(
[0] => stdClass Object
(
[leave_code] => PL
[max_allow] => 10
[taken] => 0
)
)
[3] => stdClass Object
(
[0] => Array
(
[0] => stdClass Object
(
[leave_code] => AL
[max_allow] => 10
[taken] => 0
)
)
)
[4] => stdClass Object
(
[0] => Array
(
[0] => stdClass Object
(
[leave_code] => AL
[max_allow] => 10
[taken] => 0
)
)
)
[5] => stdClass Object
(
[0] => Array
(
[0] => stdClass Object
(
[leave_code] => OL
[max_allow] => 10
[taken] => 0
)
)
)
[6] => stdClass Object
(
[0] => Array
(
[0] => stdClass Object
(
[leave_code] => SL
[max_allow] => 15
[taken] => 0
)
)
)
[7] => Array
(
[0] => stdClass Object
(
[leave_code] => PL
[max_allow] => 10
[taken] => 5
)
)
[8] => Array
(
[0] => stdClass Object
(
[leave_code] => AL
[max_allow] => 10
[taken] => 10
)
)
[9] => stdClass Object
(
[0] => Array
(
[0] => stdClass Object
(
[leave_code] => AL
[max_allow] => 10
[taken] => 0
)
)
)
)
)
)