Passing Javascript variable to PHP not working
<p>I am trying to pass the value of a javascript variable to a php variable.</p>

<p>This is my code but it's not passing anything...</p>

<pre><code> &lt;script&gt;
    var newVar = "2000";
   &lt;?php $value ?&gt; = newVar;
    &lt;/script&gt;
</code></pre>

<p>Sorry, I need to javascript variable to be passing into php.</p>

<p>Code above turned round.</p>
