title: assign a php value from a script value
body: <p>I have some code</p>
  
  <pre><code>&lt;script&gt;
  
              FB.Event.subscribe('auth.login', function(response) 
          {
  
              FB.api('/me', function(response) {
        alert(response.id);
  
      });
  &lt;/script&gt;
  </code></pre>
  
  <p>An alert screen appears and shows the value i want (response id). but i would like to assign this value to a php value called $id i know how to do this but because the value is in script it wont work, i have tried adding in the below code without success </p>
  
  <pre><code>&lt;/script&gt;  &lt;?php $id ?&gt; &lt;script&gt; response.id &lt;/script&gt; &lt;?php ; ?&gt; &lt;script&gt;
  </code></pre>
  
  <p>this code is added just below the alert(response.id); </p>