Javascript in PHP in Javascript in PHP
<p>I have a PHP file that contains a javascript function. This function takes "user" as a parameter. How can I include this parameter in embedded PHP? </p>

<pre><code>$("#items-table").html("&lt;p&gt;&lt;?php echo(hello " + user + "); ?&gt;&lt;/p&gt;")
</code></pre>

<p>The error I get is:</p>

<blockquote>
  <p>Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING</p>
</blockquote>

<p>Must I result to appending to the html in separate chunks?</p>
