# Parse XML through php?

**URL:** <https://forum.kirupa.com/t/parse-xml-through-php/281809>\
**Category:** Uncategorized\
**Created:** [February 13, 2009, 11:53am UTC](https://forum.kirupa.com/t/parse-xml-through-php/281809 "2009-02-13T11:53:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Dimebagplan](https://avatars.discourse-cdn.com/v4/letter/d/779978/32.png) [@Dimebagplan](https://forum.kirupa.com/u/Dimebagplan)\
**Post date:** [February 13, 2009, 11:53am UTC](https://forum.kirupa.com/t/parse-xml-through-php/281809/1 "2009-02-13T11:53:07Z")

</div>

Hello all !  
Thanks to the tutorial of [FONT=Arial][SIZE=2][COLOR=black][FONT=Arial][SIZE=2][/SIZE][/FONT][/COLOR][/SIZE][/FONT][FONT=Arial][SIZE=2][COLOR=black][FONT=Arial][SIZE=2][COLOR=#000000][[COLOR=#003366]Kirupa Chinnathambi[/COLOR]](http://blog.kirupa.com/)[/COLOR][/SIZE][/FONT][/COLOR][/SIZE][/FONT] i learned how to parse XML very well !

my problem is simple, i have a php file that do XML, the XML is generated with the php code with the elements in my mySQL Base.

When i replace this line :

xmlLoader.load(new URLRequest(“donneesFlash.xml”));  
by  
xmlLoader.load(new URLRequest(“donneesFlash.php”));

I get this error :  
TypeError: Error #1088

This error occur because of this :  
**xmlData=new XML(e.target.data);**

Because my URL Request is .php, so for flash i can’t do new XML();

Is there any solution for that ?

Thanks in advance !

cya !
