title: insert php code in database
body: <p>I want to make on my page sidebars, where i can put my log in form, partners, profile and etc.
  problem is that i cant insert code with included file</p>
  
  <pre><code>&lt;?php include "mini_profile.php"; ?&gt;
  </code></pre>
  
  <p>how can i insert codes like that in database and what database type should i use?
  Or how can insert that code directly in to file i need?
  Thanks for your help.
  This is what i use for posting into sidebar:</p>
  
  <pre><code>    &lt;?php
  
      $query = mysql_query("SELECT * FROM r_sidebar");
          while($row = mysql_fetch_array($query)){
  
      echo "&lt;div class='right_bar'&gt;";
  
      echo "&lt;div class='right_bar_title'&gt;";
          echo "&lt;div style='font-weight: bold;'&gt;";
              echo $row['title'];
          echo "&lt;/div&gt;";
      echo "&lt;/div&gt;";
  
          echo $row['content'];
      echo '&lt;/div&gt;';
          }
      ?&gt;
  </code></pre>