Creating a variable from a large, complicated section of html
<p>I have several large (200+ lines) of html that I need to place in a variable to use several times in a loop.  It gets very messy to escape this and that and keep formatting clean.  Is there anyway to set a variable like this IF statement?</p>

<pre><code>&lt;?php if($condition): ?&gt; &lt;p&gt;html here&lt;/p&gt; &lt;?php endif; ?&gt;
</code></pre>

<p>I know its possible with external files, but Id rather not add a series of includes to achieve this.</p>
