时间:2021-07-01 10:21:17 帮助过:4人阅读
print_r($_REQUEST);
Array
(
[c] => pay2
[cart] => 1
[itemid] => Array
(
[0] => 103
[1] => 104
[2] => 105
[3] => 106
)
[PHPSESSID] => rdkrfasknosmg58o1r1d9i6pf5
)
遍历不能遍历出itemid ,如何才能遍历成1,2,3这样
foreach ($_REQUEST as $key => $value)
{
echo "Key: $key; Value: $value
\n";
}