PHP parse file after include
<p>here's what I'm wanting to do:</p>

<pre><code>&lt;? include 'header.php' ?&gt;
some html
&lt;? include 'footer.php' ?&gt;
</code></pre>

<p>in header.php...</p>

<pre><code>&lt;? //bunch of code
if (something){
//some stuff here, but no close brace
?&gt;
</code></pre>

<p>in footer.php....</p>

<pre><code>&lt;? } //close the if brace ?&gt;
</code></pre>

<p>Is this possible? I keep getting parse errors.</p>

<p>Thanks.</p>
