title: How do I use PHP to display one html page or another?
body: <p>I wanted to use PHP and the if statement, and I wanted to do </p>
  
  <pre><code>if ($variable){
  display html page1
  }
  else {
  display html page2
  }
  </code></pre>
  
  <p>How do I do this? An please note, that I do not want to redirect the user to a different page.</p>
  
  <p>--EDIT--
  I would have no problem doing that with one of them, but the other file, it would be too much of a hassle to do that.</p>
  
  <p>--EDIT--
  Here is the coding so far:</p>
  
  <pre><code>&lt;?PHP
  include 'uc.php';
  if ($UCdisplay) {
      include("under_construction.php");
  }
  else {
      include("index.html");
  }
  ?&gt;
  </code></pre>
  
  <p>My problem is that it would be really complicated and confusing if I were to have to create an html page for every php page, so I need some way to show the full html page instead of using include("index.html")</p>