whats wrong with this for loop?
<p>Can someone please help me fix this code up? I am getting some weird error:
this for loop not working properly</p>

<pre><code>&lt;?php 
$languages=array('te','hi');
for($langIndex=0;$langIndex&lt;count($languages);$langIndex++)
{
echo $languages;} 
?&gt;
</code></pre>

<p>expected result:</p>

<pre><code>te,hi
</code></pre>

<p>actual result:</p>

<pre><code>Array Array
</code></pre>
