title: Passing a Javascript string to PHP
body: <p>i want to pass a javascript string to php ... WHICH is RIGHT after the code .. in the script.</p>
  
  <pre><code>&lt;script type="text/javascript"&gt;
    var myvar = "mytext" ;
  
   &lt;?php echo myvar ; ?&gt;
  &lt;/script&gt;
  </code></pre>
  
  <p>this does not work.
  What should i do ?</p>