title: type php code into textarea, store in database, then execute
body: <p>Anybody have any idea how I might go about doing something like this.</p>
  
  <p>I've got a textarea setup to allow users to edit page content. the content is then stored in a database and is retrieved on the frontend by php within an html template. something like:</p>
  
  <pre><code>&lt;html&gt;
  yada yada...
  &lt;?php
  echo get_page_contents_by_id($_GET['id']);
  ?&gt;
  yada yada...
  &lt;/html&gt;
  </code></pre>
  
  <p>its all run in a .php file, in case anyone wanted to call that out.</p>
  
  <p>What I'm wondering is, because I'm getting the content from the database via php, is there any way that I can retrieve php code within that content and still run it without doing any sort of file writing.</p>