PHP array element comparison
<p>Learning PHP and I have a question.</p>

<p>How does one obtain an element from an array and determine if it is equal to a static value? I have a return set from a query statement (confirmed the array has all values).</p>

<p>I tried:</p>

<pre><code>&lt;?  if($row["rowValue"] == 1) { 
    }
?&gt;
</code></pre>

<p>I was expecting the value to be 1, but it's returning null (as if I'm doing it wrong).</p>
