Unexpected output
<p>I use the code to return data from a function and display it.</p>

<p>consider: <code>i = j = 0; count = 4;</code></p>

<p>I do not get <code>4</code> return values from the code.. .which is expected output.</p>

<p>But i get the result when i replace the for loop with    <code>print_r($EODRow);</code></p>

<p>Pls help.</p>

<pre><code>    $i = 0; 

    $j = 0; 

    $count = getEODCount("A"); 

    for(; $i &lt; $count; $i++)

    { 

          $EODRow = getEOD("A",$i); 

          print "&lt;tr&gt;"; 

          for(; $j &lt; 12; $j++) 

          { 

                      print "&lt;td&gt;$EODRow[$j]&lt;/td&gt;"; 

          }  

          print "&lt;/tr&gt;";  

} 
</code></pre>

<p>I return an array of values from the function.</p>
