title: TCPDF- php variables inside writeHTML()
body: <p>I am trying to put 3 different html string into PDF using TCPDF</p>
  
  <p>I have 3 variables containing html string.</p>
  
  <p>But below code writes only $var3 's value to pdf. </p>
  
  <p>How to display all 3 variable's value to pdf ? </p>
  
  <pre><code>$var1= "&lt;html&gt; --- &lt;/html&gt;";
  $var2= "&lt;html&gt; --- &lt;/html&gt;";
  $var3= "&lt;html&gt; --- &lt;/html&gt;";
  
  $html = $va1.''.$var2.''.$var3;
  
  $pdf-&gt;writeHTML($html, false, false, true, false, '');
  </code></pre>