PHP get name and value while using for
<p>I have this problem that when I use array as such</p>

<pre><code>Array
(
    [11] =&gt; /2
    [10] =&gt; /2
)
</code></pre>

<p>I'm unable to get the array name or the value when I use</p>

<pre><code>for($i=0; $i &lt; count($_SESSION['CHECKBOX']);$i++){
</code></pre>

<p>how can I get the name? and value? separate?</p>
