"Unexpected T_STRING" error in my PHP?
<p>I'm having a problem with some PHP code I'm trying to use. I keep getting an "unexpected T_STRING" error? This is the code on my test page:</p>

<pre><code>   &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd"&gt;
   &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;

    &lt;?php
    include 'http://www.weather.gov/xml/current_obs/KTPA.xml';

    $current_observation = new SimpleXMLElement($xmlstr);

    echo $current_observation-&gt;location[0]-&gt;plot;
    echo $current_observation-&gt;weather[0]-&gt;plot;
    echo $current_observation-&gt;temperature_string[0]-&gt;plot;
    echo $current_observation-&gt;wind_string[0]-&gt;plot;

    ?&gt;
</code></pre>

<p>What I'm wanting to do is pull weather data from this National Weather Service XML file, and display it in a way similar to how the NWS is doing it on that page. However, the above code returns this message: "Parse error: syntax error, unexpected T_STRING in <a href="http://www.weather.gov/xml/current_obs/KTPA.xml" rel="nofollow">http://www.weather.gov/xml/current_obs/KTPA.xml</a> on line 1". Is this something I can fix? I'm new to PHP, so any help you can provide will be appreciated.</p>
