How do I echo an line from a text file which has title or meta tags?
<p>I have a text file which looks like the following:</p>

<pre><code> http://tisue.net/jandek/live.html
&lt;title&gt;Jandek: Live&lt;/title&gt;
&lt;meta http-equiv="Content-Type" content="text/html; charset=UTF-8"&gt;


http://news.nationalgeographic.com/news/2004/06/0629_040629_camelspider.html
&lt;title&gt;Camel Spiders: Behind an E-Mail Sensation From Iraq&lt;/title&gt;
&lt;meta name="description" content="A photo of a U.S. soldier in Iraq holding massive,   hairy, supposedly flesh-eating spiders has been burning up e-mail in-boxes around the  world. The arachnids (called camel spiders or wind scorpions) are real, but scientists say many claims about them are anything but."&gt;
</code></pre>

<p>and several thousand more like that.</p>

<p>I'm using <code>fopen()</code> and <code>fgets()</code> to read each line and echo it. The problem is that the <code>&lt;title&gt;</code> and <code>&lt;meta /&gt;</code> are not being echoed; the lines return blank. How can I get php to see these as plain text and echo them?</p>

<p>EDIT: Here's the code I'm using:</p>

<pre><code> $handle = fopen($myFile, 'r');

 while(!feof($handle)){

   $data = fgets($handle);
   echo $data;
</code></pre>
