if else and includes
<p>I have a conditional include but running into an issue.</p>

<p>For example : this works</p>

<pre><code>&lt;?php if($t==3)
echo 'Foo';
    else
echo 'Foo something else';
    ?&gt;
</code></pre>

<p>and this : doesnt work</p>

<pre><code>&lt;?php if($t==3)
echo 'Foo';
include ('/home/path/public_html/includes/foo_one.php');
echo 'Example: one';
    else
echo 'Foo something else';
include ('/home/path/public_html/includes/foo_two.php');
echo 'Example: two';
 ?&gt;
</code></pre>

<p>Could you shed some light as to what I am doing wrong ?</p>

<p>Or should I include the echos within the include and just do echo include ...blah else echo anotherinclude ...</p>
