foreach ($_GET as $field => $label)
{
$datarray[]=$_GET[$field];
echo "$_GET[$field]";
echo "<br>";
}
print_r($datarray);
这是我得到的输出。我看到数据在数据阵列中,但是当我echo $_GET[$field]
我只得到“数组”
但print_r($datarray)
打印所有数据。知道我如何提取这些值吗?
输出
Array (
[0] => Array (
[0] => Grade1
[1] => ln
[2] => North America
[3] => yuiyyu
[4] => iuy
[5] => uiyui
[6] => yui
[7] => uiy
[8] => 0:0:5
)
)