php code transfer into js
<p>the javascript code in php is</p>

<pre><code>&lt;script language="JavaScript" type="text/javascript"&gt;
xajax_getCountry('&lt;?php echo $row['mradio_area']?$row['mradio_area']:0 ?&gt;',
&lt;?php echo $row['mradio_country']?$row['mradio_country']:0 ?&gt;,
&lt;?php echo ($row['mradio_rate']==1?1:0); ?&gt;);
&lt;/script&gt;
</code></pre>

<p>I want to put it into the .js file.</p>

<p>How do I change the <code>&lt;?php echo $row</code> into js format?</p>

<p>Thanks a lot for any answer!</p>
