title: Why is this giving me an unexpected T_STRING error?
body: <p>The line that has the error is this one: </p>
  
  <p><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;</code></p>
  
  <p>There is nothing physically wrong with it as far as I can see, yet I get this error:</p>
  
  <p><code>Parse error: syntax error, unexpected T_STRING in /directory/listing/upload.php on line 12</code></p>
  
  <p>Sorry, let me clarify, I'm not trying to echo it or print it out, I'm trying to set the XML version.</p>
  
  <p>There is no need for the upload.php code as it all works fine, it's just this one line.</p>
  
  <p>Also, (yes I know, w3schools which I'm only using as an EXAMPLE) w3chools has it set out like this to set it?</p>
  
  <p><a href="http://pastebin.com/jTfp7frV" rel="nofollow">Pastebin code here</a></p>
  
  <p><a href="http://www.youtube.com/watch?v=ImIIHXRlL4k" rel="nofollow">and I guess if it helps, I'm following these tutorials</a></p>
  
  <p><a href="http://www.w3schools.com/xml/" rel="nofollow">XML example</a></p>