title: PHP skip through file under certain conditions
body: <p>Here's an example of my situation:</p>
  
  <pre><code>&lt;?php
  if(//condition)
  {
     //start output buffer
  }
  else
  {
     //skip through file until POINT A
  }
  ?&gt;
  &lt;!-- some nice html, no php here --&gt;
  &lt;?php
    //close output buffer &amp; write it to a file
    //POINT A &lt;&lt; SKIP TO HERE
  ?&gt;
  </code></pre>
  
  <p>Basically, I'm loading the HTML code after the PHP code block into an output buffer. My conditional checks if the file that the output buffer writes to exists. If it exists, I just want to skip past the HTML and the output buffer writing, and start off at <code>POINT A</code>. I would do an <code>exit;</code> but I have more code I wish to output after <code>POINT A</code>. </p>
  
  <p>Any help? </p>