# Reading xml file created by php script

**URL:** <https://forum.kirupa.com/t/reading-xml-file-created-by-php-script/222863>\
**Category:** Uncategorized\
**Created:** [April 17, 2007, 4:16pm UTC](https://forum.kirupa.com/t/reading-xml-file-created-by-php-script/222863 "2007-04-17T16:16:11Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![romeovg](https://avatars.discourse-cdn.com/v4/letter/r/c5a1d2/32.png) [@romeovg](https://forum.kirupa.com/u/romeovg)\
**Post date:** [April 17, 2007, 4:16pm UTC](https://forum.kirupa.com/t/reading-xml-file-created-by-php-script/222863/1 "2007-04-17T16:16:11Z")

</div>

I am creating a xml file by reading MySQL database and formating the results into XML format and outputting it on the screen. I have created other php scripts that is supposed to read the that xml file but its not able to do so…am I doing something wrong? Just outputting the XML format to the screen does it make it readable for other php scripts? I can copy the output to a file and then all my other scripts work…please help:sen:
