When I include a .txt file, where does it display a '1' after the content?
<p>I am displaying the contents of a .txt file and the contents display fine by at the end of the content of the file there is a number '1' just randomly. Can anyone tell me why?
Here is what is happening: <a href="http://www.baboonhut.com/resources/" rel="nofollow">http://www.baboonhut.com/resources/</a></p>

<p>The Code:</p>

<pre><code>&lt;?php
$dir = 'resources/';

foreach(glob($dir.'*', GLOB_ONLYDIR) as $resdir) {
    $resdir = str_replace($dir, '', $resdir);
    echo "
&lt;div class=\"span3\"&gt;
&lt;div class=\"tile\"&gt;
&lt;img src=\"resources/". $resdir ."/thumbnail.png\" class=\"img-rounded\"&gt;
&lt;h3 class=\"tile-title\"&gt;". $resdir ."&lt;/h3&gt;
&lt;p&gt;"; echo  include('resources/'. $resdir .'/description.txt'); echo "&lt;/p&gt;
&lt;a class=\"btn btn-primary btn-large btn-block\" href=\"http://www.baboonhut.com/resources/" . $resdir ."/\"&gt;More Information&lt;/a&gt;
&lt;/div&gt;
&lt;/div&gt;
"
;
}
?&gt;
</code></pre>
