How to assign the javascript variable value to php variable
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1917576/how-to-pass-javascript-variables-to-php">How to pass JavaScript variables to PHP?</a>  </p>
</blockquote>



<p>I want to assign the javascript variable to php variable </p>

<pre><code>$msg = "&lt;script&gt;document.write(message)&lt;/script&gt;";
$f = new FacebookPost;
$f-&gt;message  = $msg;
</code></pre>

<p>But it is not working......</p>
