當我做var_dump($ reads)時,我有一個名爲$ reads的數組,我得到下面的數組結果。 我想用var_dump($ reads [0] [0])獲得第一個數組的第一項。我得到一個消息:錯誤的渲染視圖:[home.uploaded]未定義抵消:0PHP多維數組返回錯誤
array(161) {
[0]=>
array(4) {
["517a5745e8505"]=>
string(29) "Ngee Ann Poly_Keywords report"
["517a5745e86fe"]=>
string(0) ""
["517a5745e882e"]=>
string(0) ""
["517a5745e89b5"]=>
string(0) ""
}
[1]=>
array(4) {
["517a5745e8505"]=>
string(7) "Keyword"
["517a5745e86fe"]=>
string(6) "Clicks"
["517a5745e882e"]=>
string(11) "Impressions"
["517a5745e89b5"]=>
string(3) "CTR"
}
[2]=>
array(4) {
["517a5745e8505"]=>
string(18) "accounting diploma"
["517a5745e86fe"]=>
string(1) "2"
["517a5745e882e"]=>
string(3) "364"
["517a5745e89b5"]=>
string(5) "0.55%"
}
[3]=>
array(4) {
["517a5745e8505"]=>
string(11) "polytechnic"
["517a5745e86fe"]=>
string(4) "1940"
["517a5745e882e"]=>
string(5) "42995"
["517a5745e89b5"]=>
string(5) "4.51%"
}
[4]=>
array(4) {
["517a5745e8505"]=>
string(15) "tourism diploma"
["517a5745e86fe"]=>
string(1) "1"
["517a5745e882e"]=>
string(3) "156"
["517a5745e89b5"]=>
string(5) "0.64%"
}
哪些呢的var_dump($讀取[0] [ 「517a5745e8505」]);給? – 2013-04-26 10:40:52
'var_dump($ reads [0] [「517a5745e8505」]' – 2013-04-26 10:42:32