日期:2014-05-17 浏览次数:20497 次
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<br />\n";
}