Efficient way to switch body content?
<p>I'm trying to find a way to switch body content for example what I'm using right now is</p>

<pre><code>&lt;html&gt;
  &lt;body&gt;
&lt;?php 

  switch( $_GET['view'] ) {
    case "index" :
      include 'main.php';
      break;
  } 
?&gt;
  &lt;/body&gt;
&lt;/html&gt;
</code></pre>

<p>As basic as it is, I do NOT like it, and I'm trying to find for a better way to do this.
Thanks.</p>
