matching the individual words from array
<p>//  I am working on matching the individual words from array  $frequency 
//  to the search results from that individual word.</p>

<p>I don't know why this does not work</p>

<pre><code>for ($i = 1; $i &lt;= ($frequency); $i++) {

    echo $i;


    echo getphp_AlexVortaro ($frequency[$i]);
    echo getphp_Smartfm($frequency[$i]);
    print_r($frequency[$i]);


}
</code></pre>

<p>I get </p>

<blockquote>
<pre><code>Notice: Undefined offset: 11 in /Users/briancarpenter/Sites/Vortoj/countplus.php
</code></pre>
  
  <p>on line 21</p>
</blockquote>

<p>X A lot</p>
