How to set JavaScript variable by php with out AJAX?
<p>I need to set JavaScript variable by php variable with out ajax.
I try following code:</p>

<pre><code>&lt;script type="text/javascript"&gt;
var url = &lt;?php echo($url); ?&gt;;
&lt;/script&gt;
</code></pre>

<p>but it will make problem,How can I do it?</p>
