<pre><code>foreach ($_GET as $field =&gt; $label)
{
   $datarray[]=$_GET[$field];
   echo "$_GET[$field]";
   echo "&lt;br&gt;";
}
print_r($datarray);
</code></pre>

<hr>

<p>This is the output I am getting. I see the data is there in datarray but when
I <code>echo $_GET[$field]</code> </p>

<p>I only get "Array"</p>

<p>But <code>print_r($datarray)</code> prints all the data. Any idea how I pull those values?</p>

<h2>OUTPUT</h2>

<pre><code>Array ( 
        [0] =&gt; Array ( 
                 [0] =&gt; Grade1 
                 [1] =&gt; ln 
                 [2] =&gt; North America 
                 [3] =&gt; yuiyyu 
                 [4] =&gt; iuy 
                 [5] =&gt; uiyui 
                 [6] =&gt; yui 
                 [7] =&gt; uiy 
                 [8] =&gt; 0:0:5 
                 ) 
)
</code></pre>

Use
```
<pre>
```
tags before
```
print_r
```
, then you will have a tree printed (or just look at the source. From this point you will have a clear understanding of how your array is and will be able to pull the value you want.
I suggest further reading on
```
$_GET
```
variable and
arrays
, for a better understanding of its values