# TUTORIAL HELP Learn How to Use Flash with PHP and mySQL

**URL:** <https://forum.kirupa.com/t/tutorial-help-learn-how-to-use-flash-with-php-and-mysql/195002>\
**Category:** Uncategorized\
**Created:** [July 27, 2006, 6:56pm UTC](https://forum.kirupa.com/t/tutorial-help-learn-how-to-use-flash-with-php-and-mysql/195002 "2006-07-27T18:56:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![adar](https://avatars.discourse-cdn.com/v4/letter/a/58f4c7/32.png) [@adar](https://forum.kirupa.com/u/adar)\
**Post date:** [July 27, 2006, 6:56pm UTC](https://forum.kirupa.com/t/tutorial-help-learn-how-to-use-flash-with-php-and-mysql/195002/1 "2006-07-27T18:56:25Z")

</div>

I’m a newbie

Trying to complete the above tutorial Got the PHP and XML working. But when I load the swf file, the XML appears as a string of XML script instead of just plain text.

Any reason why? Do I still have to do formatting ?

# script

# onClipEvent(load) { loadVariables (“[http://localhost/flashtest/test.php?jcode=KA5463](http://localhost/flashtest/test.php?jcode=KA5463)”,this, “GET”); }

loads the XML from PHP just fine. but the text loaded is the XML string instead of the data.

please advise?  
 ![]() ![]()
