Counting values in an array w/ PHP
<p>I need to perform a a task when there are some values in my array. So I used <strong>count</strong></p>

<pre><code>count($_SESSION['arrayValues'][$_SESSION['event']]);
</code></pre>

<p>And my code acts as if there's something in the array, however when I do print_r I get the following:</p>

<pre><code>Array ( [0] =&gt; ) 
</code></pre>

<p>So I suppose I need to count values. Tried using <strong>array_count_values</strong> but it does not seem to work for me... I'm a bit confused now.</p>
