php text line by line not working
<p>I have a text file called things.txt with:</p>

<pre><code>thing1
thing2
thing34
</code></pre>

<p>and php:</p>

<pre><code>$fp = fopen('things.txt');
while (!feof($fp)) {
    $line = fgets($fp);
    echo $line."&lt;br&gt;";
}
fclose($fp);
</code></pre>

<p>and it's not working...any ideas?</p>
