Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
大家好,方括号内的数字二是什么?id 不是数组。
$id = @$_SERVER["arv"][2];
2是存储在数组中的数组的索引。So when the first array arvis selected, if that is an array, then the number 2will select the 3rd index of that array (0,1,2)
2
arv