Using include() within ob_start()
<p>Need a bit of PHP help here, the included content is appearing as '1' which means that its true but need it's contents to appear and im unsure why it isn't. Here is a shortened version of a function:</p>

<pre><code>public function content {
    $website-&gt;content = 'Some content here. ';
    ob_start();
    include('myfile.php');
    $file_content = ob_end_clean();
    $website-&gt;content .= $file_content;
    $website-&gt;content .= ' Some more content here.';
     echo $website-&gt;content;
}
</code></pre>

<p>This outputs:</p>

<pre>
Some content here 
1 
Some more content here
</pre>

<p>When I need it to output:</p>

<pre>
Some content here
'Included file content here'
Some more content here
</pre>

<p>Any idea's how I can fix this?</p>
