Simple if else statement won't work
<p>I have a page.html with just 48 in it. I can't get this if statement to work.</p>

<pre><code>&lt;?php 
  $myFile = 'http://site.com/page.html';
  $content = file_get_contents($myFile);
?&gt;
&lt;?php $num = "48"; ?&gt;
&lt;?php if ($content == $num): ?&gt;
    true
&lt;?php else: ?&gt;
    false
&lt;?php endif;  ?&gt;
</code></pre>

<p>If I do this it works.</p>

<pre><code>&lt;?php if ($content == 48): ?&gt;
    true
&lt;?php else: ?&gt;
    false
&lt;?php endif;  ?&gt;
</code></pre>

<p>How can I change this to make it work?</p>
