# Php & xml

**URL:** <https://forum.kirupa.com/t/php-xml/165092>\
**Category:** Uncategorized\
**Created:** [October 7, 2005, 2:33pm UTC](https://forum.kirupa.com/t/php-xml/165092 "2005-10-07T14:33:15Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![amirag](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/amirag/32/872_2.png) [@amirag](https://forum.kirupa.com/u/amirag)\
**Post date:** [October 7, 2005, 2:33pm UTC](https://forum.kirupa.com/t/php-xml/165092/1 "2005-10-07T14:33:15Z")

</div>

[font=Times New Roman][size=3]I tried this tutorial [/size][/font][[font=Times New Roman][size=3][color=#003399]http://www.kirupa.com/web/mysql\_xml\_php.htm[/color][/size][/font]](http://www.kirupa.com/web/mysql_xml_php.htm)

[font=Times New Roman][size=3]and every time i run the code I got this error.[/size][/font]

**[color=red][font=Verdana]Invalid at the top level of the document. Error processing resource[/font][/color]**

[color=blue][font=Courier New]Data not found.[/font][/color]

[color=blue][font=Courier New]^[/font][/color]

[font=Times New Roman][size=3]what is the cause of this error?[/size][/font]
