php if to include html
<p>PHP isn't really my language of choice, that being said I remember seeing a php <code>if</code> being used something like this:</p>

<pre><code>&lt;?php 
    if (blah) { 
?&gt;
        // loads of html and js that doesn't need to be escaped since we closed
        // the php already with "?&gt;"
&lt;?php
    }
?&gt;
</code></pre>

<p>Or something like this. I don't know what it's called and googling php if doesn't help.</p>

<p>What's this technique called and what's the correct syntax for it?</p>
