title: sending javascript variable value to php within the same page
body: <p>I just want to know if sending value of a javascript to php is possible.
  here is the simple code of what i am trying to say.</p>
  
  <pre><code>&lt;script language="javascript" &gt;
  var id = "data"
  &lt;/script&gt;
  
  &lt;?php
  $getthevalueofid = var id;
  ?&gt;
  </code></pre>
  
  <p>thanks!</p>