请教包括一维、二维数组的遍历问题
问题描述
请教包括一维、二维数组的遍历问题
Array
(
[8900] => A
[8898] => D
[8733] => B
[8799] => C
[8933] => A
[8827] => C
[8854] => C
[8786] => A
[8738] => B
[8880] => B
[8835] => A
[8750] => D
[8760] => D
[8853] => A
[8863] => A
[8806] => D
[8766] => A
[8864] => D
[8896] => A
[8874] => A
[8828] => C
[8732] => D
[8925] => B
[8779] => B
[8895] => B
[8843] => B
[8873] => B
[8744] => C
[8731] => D
[8856] => B
[8969] => Array
(
[0] => A
[1] => B
[3] => D
)
[9051] => Array
(
[1] => B
[2] => C
)
[9059] => Array
(
[0] => A
[2] => C
[3] => D
)
[9032] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[8953] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[8960] => Array
(
[0] => A
[1] => B
[3] => D
)
[9110] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[9084] => Array
(
[0] => A
[1] => B
[2] => C
)
[9044] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[8961] => Array
(
[0] => A
[1] => B
[3] => D
)
[9023] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[9098] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[8976] => Array
(
[0] => A
[1] => B
[2] => C
[3] => D
)
[9102] => Array
(
[1] => B
[2] => C
)
[8972] => Array
(
[0] => A
[1] => B
[2] => C
)
[8968] => Array
(
[0] => A
[2] => C
)
[8997] => Array
(
[0] => A
[3] => D
)
[9080] => Array
(
[0] => A
[2] => C
)
[9029] => Array
(
[0] => A
[1] => B
)
[9091] => Array
(
[0] => A
[1] => B
[2] => C
)
[9240] => A
[9182] => A
[9227] => A
[9146] => B
[9190] => A
[9139] => B
[9138] => B
[9143] => A
[9279] => A
[9232] => A
)
问题解答
回答1:最好能将第一部分的一维数组、第二部分的二维数组、第三部分的一维数组分开遍历。不胜感激!
相关文章:
1. javascript - vue 数据更新了。但是dom没有更新,,,,,如图2. java - 为什么要将Runnable接口的子类对象传递给Thread的构造函数?3. javascript - 读取页面源码,页面中所有的换行都被当成<br/>读取出来 了,,求解应该怎么让它被正确的解析4. docker api 开发的端口怎么获取?5. java基础,求解答。6. javascript - 关于一段 for 循环代码执行顺序的问题7. html5 - 百度Ueditor代码高亮和代码段滚动条冲突是怎么回事?8. debian - docker依赖的aufs-tools源码哪里可以找到啊?9. javascript - 静态页面引公共头尾文件,js怎么写吖?10. java - 3个dao的数据根据请求参数选择一个映射到一个url上,怎么写比较好?