title: JavaScript innerHTML include php
body: <p>Why doesn't my code work?</p>
  
  <pre><code>function _(x){
      return document.getElementById(x);
  }
  
  function friends(){
      _("right").innerHTML = '&lt;?php include_once "friendlist.php";?&gt;';
  }
  </code></pre>
  
  <p>Result:</p>
  
  <pre><code>&lt;!--?php include_once "friendlist.php";?--&gt;
  </code></pre>
  
  <p>How can I fix it?</p>