title: PHP :Displaying html formatted data from sqlite database, saved using tinymce
body: <p>I am developing application in <strong>php</strong> using <strong>sqlite</strong> database. I have integrated <strong>tinymce 4.1.9</strong> for textarea. When I saved data in database proper html script gets saved, but while displaying data from database on reports all html tags does not reflects. e.g H1 or list or bold does not show its effect. Even tags gets saved in database.
  Script is as follows :</p>
  
  <pre><code>&lt;script language="javascript" type="text/javascript" src="tinymce/js/tinymce/tinymce.min.js"&gt;&lt;/script&gt;
  
  
  
  &lt;script language="javascript" type="text/javascript"&gt;
  
      tinymce.init({
              selector: "textarea",
              theme: "modern",
              plugins: [
              "advlist autolink lists link image charmap print preview hr anchor pagebreak",
              "searchreplace wordcount visualblocks visualchars code fullscreen",
              "insertdatetime media nonbreaking save table contextmenu directionality",
              "emoticons template paste textcolor colorpicker textpattern"
          ],
              toolbar1: "insertfile undo redo | styleselect | bold italic | alignleft aligncenter alignright alignjustify | bullist numlist outdent indent | link image",
              toolbar2: "print preview media | forecolor backcolor emoticons",
              image_advtab: true,
              templates: [
              {title: 'Test template 1', content: 'Test 1'},
              {title: 'Test template 2', content: 'Test 2'}
          ]
      });
  
  &lt;/script&gt;
  </code></pre>
  
  <p>Html :</p>
  
  <pre><code>&lt;textarea name="txtAboutComp" class="form-control" rows="5" &gt;&lt;/textarea&gt;
  </code></pre>
  
  <p>Displaying data on reports:</p>
  
  <pre><code>  &lt;?php
                          try 
                          {
                              $sqlite = new PDO('sqlite:DigitalStorageBox.sqlite');
                          }
                          catch (PDOException $e) 
                          {
                              echo 'Connection failed: ' . $e-&gt;getMessage();
                          }
  
                          $statement = $sqlite-&gt;prepare('SELECT distinct ID, Name, LogoPath,CompanyName,AboutCompany from  Company ');    
  
                          try 
                          {
                              $statement-&gt;execute();
                          }
                          catch (PDOException $e) 
                          {
                              echo "Statement failed: " . $e-&gt;getMessage();
                              return false;
                          } 
                          $result = $statement-&gt;fetchAll();
                          $cnt=0;
  
                          foreach ($result as $row) 
                          { echo $row['AboutCompany'];}
                  ?&gt;
  </code></pre>
  
  <p>Please suggest how to display formatted data on reports? </p>