title: Show only some information with file_get_contets PHP
body: <p>I've been trying to learn how to use file_get_contents in PHP, and am attempting to use it to display weather on my page from <a href="http://www.rssweather.com/wx/us/in/knight/wx.php" rel="nofollow noreferrer">http://www.rssweather.com/wx/us/in/knight/wx.php</a>.</p>
  
  <pre><code>&lt;?php
  $ref = file_get_contents('http://www.rssweather.com/wx/us/in/knight/wx.php.');
  echo $ref;
  ?&gt;
  </code></pre>
  
  <p>Obviously this shows the whole page I'm referencing on the screen, which is not what I want. I'm trying to show only the current weather, whether that be as simple text or some other form. I've spent some time trying to figure out how to select only portions of a file once referenced with file_get_contents, but I've had no luck figuring it out. I've see people manipulating what appear to be variables from the pages referenced, but I cannot figure out how to access those variables through my code. Would anyone have any suggestions on how best to approach this?</p>