Javascript Insert into Array
<p>I have  javascript code some thing like this --</p>

<pre><code>var count=3;
var pl=new Array(count);
var il=new Array(count); 

pl.push('&lt;?php echo $var1; ?&gt;');
il.push('&lt;?php echo $var2; ?&gt;');
</code></pre>

<p>Why is this not working?</p>

<p>But if I try some thing like this </p>

<pre><code>pl[0]='&lt;?php echo $var1; ?&gt;';
</code></pre>

<p>It works. Can some one point out the problem?</p>

<p>Thanks </p>
