php to javascript varable not working in chrome and I.E
<p>I am converting a php variable to a javascript variable. It works fine in firefox, but in chrome and I.E it doesn't work,</p>

<p>Here is what i'm doing,</p>

<pre><code>var chkimg = "&lt;?= $_imgname ?&gt;";
</code></pre>

<p>Where $_imgname contains the data and is tested. But it doesn't convert to javascript variable!</p>
