PHP variable inside a js file
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/393479/best-way-to-transfer-an-array-between-php-and-javascript">Best way to transfer an array between PHP and Javascript</a>  </p>
</blockquote>



<p>How do I put the value of a PHP variable inside a Javascript variable? 
This is what I have now in a js file:</p>

<pre><code>test=&lt;?php echo $country; ?&gt;;
</code></pre>
