title: Trying to include PHP code in Jquery droppable
body: <p>I'm building a Form builder CMS and I'm trying to access information from my database on to the dropped elements.</p>
  
  <p>The problem being;
  The index file is PHP and draggable/droppable element is fetched from another javascript file as a variable. In the JS file I tried adding this to the variable where I want the code to be executed: </p>
  
  <pre><code>txtboxEdit += "&lt;? include 'db.php' ?&gt;";
  </code></pre>
  
  <p>But this is the output when my element is dropped:</p>
  
  <pre><code>&lt;!--? include 'db.php' ?--&gt;
  </code></pre>
  
  <p>Any suggestions on how to fix this or maybe there's a better way (probably is, haha). Is there something that could "force" the code to be outputted as text?</p>
  
  <p>Thx</p>