reading textfile contents
<p>Ok i have this code</p>

<pre><code>$myFile = "testFile.txt";
$fh = fopen($myFile, 'r');
$theData = fread($fh, filesize($myFile));
fclose($fh);
echo $theData
</code></pre>

<p>testFile.txt contents:</p>

<pre><code>&lt;script type="text/javascript" src="js/jquery.js"/&gt;
&lt;script type="text/javascript" src="js/webdefault.js"/&gt;
&lt;stype type="text/css" src="css/style.css"/&gt;
</code></pre>

<p>No I want to read those contentst by line and output each by each line</p>

<p>the output in the html if its going to be output is this:</p>

<pre><code>&lt;script type="text/javascript" src="js/jquery.js"/&gt;
&lt;script type="text/javascript" src="js/webdefault.js"/&gt;
&lt;stype type="text/css" src="css/style.css"/&gt;
</code></pre>

<p>thank you in advance</p>
