title: Placing contents of an IF statement into the next IF statement?
body: <p>I'm attempting to place the first IF statement below (a <a href="http://www.tcpdf.org/doc/code/classTCPDF.html#a4816d61822a4bad6e35bb441c1699aab" rel="nofollow">TCPDF barcode</a>) into the content of the next IF statement. This should place the barcode right before the break (above the title key).</p>
  
  <p>Whenever <code>$content</code> is called inside of <code>$rset_html</code>, it displays the specified key in the IF statement.</p>
  
  <pre><code>if($key == 'field_cinfo_zip_1') {
      $rset_html .= $view-&gt;pdf-&gt;write1DBarcode('01234567094987654321-'.str_replace("-","",$content), 'IMB', '', '', '', 0.1, 0.01, $barstyle, '');
  }
  </code></pre>
  
  <p>How to put this IF statement above into <code>&lt;CONTENTS OF IF STATEMENT ABOVE HERE&gt;</code> below?</p>
  
  <pre><code>if ($key == 'title'){
      $rset_html .= &lt;CONTENTS OF IF STATEMENT ABOVE HERE&gt;."&lt;br&gt;$content";
  }
  </code></pre>
  
  <p>Though this seems very basic, I don't know how easy this really is. I might have to figure out how to call fields without using IF statements and the $rset_html variable, but have no idea how that can be done.</p>