求JS如何读取PHP里的多维数组?
PHP数组内容如下:Array([0]=>Array([0]=>[1]=>[2]=>[3]=>)[1]=>Array([0]=>www.baidu.com/a/[1]=>...
PHP数组内容如下:
Array ( [0] => Array ( [0] => [1] => [2] => [3] => ) [1] => Array ( [0] => www.baidu.com/a/ [1] => www.baidu.com/b/ [2] => www.baidu.com/c/ [3] => www.baidu.com/d/ ) )
一位老师提醒我说:
用js获取节点a,这时获取的是个数组,数组中每一个单元就是一个网址.
具体代码应该怎么写呢? 展开
Array ( [0] => Array ( [0] => [1] => [2] => [3] => ) [1] => Array ( [0] => www.baidu.com/a/ [1] => www.baidu.com/b/ [2] => www.baidu.com/c/ [3] => www.baidu.com/d/ ) )
一位老师提醒我说:
用js获取节点a,这时获取的是个数组,数组中每一个单元就是一个网址.
具体代码应该怎么写呢? 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询