# What does this error message mean?

**URL:** <https://forum.kirupa.com/t/what-does-this-error-message-mean/140498>\
**Category:** Uncategorized\
**Created:** [March 11, 2005, 1:54pm UTC](https://forum.kirupa.com/t/what-does-this-error-message-mean/140498 "2005-03-11T13:54:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![FlashNewby](https://avatars.discourse-cdn.com/v4/letter/f/5f8ce5/32.png) [@FlashNewby](https://forum.kirupa.com/u/FlashNewby)\
**Post date:** [March 11, 2005, 1:54pm UTC](https://forum.kirupa.com/t/what-does-this-error-message-mean/140498/1 "2005-03-11T13:54:30Z")

</div>

I’m getting this error message when I excecute my php script, can someone tell me what this means? The php file is an html file with php script in it

**Invalid at the top level of the document. Error processing resource '[http://www.sitename.com/somename.php](http://www.sitename.com/somename.php)…**

I’m doing something like this:

```php
<?php echo "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?".">"; ?> 

```

Could this line be the problem? If it is how else can I code this line? I need this line in order to use xhtml.

Thanks
