title: How to handle a codeigniter PDF generator
body: <p>In the view page "ShowInformation.php" I have the code something like this including the omit css style code and other stuff</p>
  
  <pre><code>&lt;?php foreach ($preUser as $value): ?&gt;
  
  Citizen ID : &lt;?php echo $value-&gt;cid;?&gt;&lt;/br&gt;
  First Name : &lt;?php echo $value-&gt;name;?&gt;&lt;/br&gt;
  ...
  
  &lt;?php endforeach; ?&gt;
  </code></pre>
  
  <p>$preUser is a variable passing from the controller and its from database.</p>
  
  <p>I need to add the download button in that page and generate the PDF with exact the same PHP/HTML/CSS, supporting UTF-8.</p>
  
  <p>Any suggestion ?</p>