# Plz help me with using Flash with PHP & MySQL

**URL:** <https://forum.kirupa.com/t/plz-help-me-with-using-flash-with-php-mysql/243899>\
**Category:** programming\
**Created:** [November 12, 2007, 1:37pm UTC](https://forum.kirupa.com/t/plz-help-me-with-using-flash-with-php-mysql/243899 "2007-11-12T13:37:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iNeed\_Help](https://avatars.discourse-cdn.com/v4/letter/i/49beb7/32.png) [@iNeed\_Help](https://forum.kirupa.com/u/iNeed_Help)\
**Post date:** [November 12, 2007, 1:37pm UTC](https://forum.kirupa.com/t/plz-help-me-with-using-flash-with-php-mysql/243899/1 "2007-11-12T13:37:00Z")

</div>

I’m having trouble getting the following tutorial to work:

Learn How to Use Flash with PHP and mySQL:  
[http://www.kirupa.com/developer/actionscript/flash\_php\_mysql.htm](http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm)

I haven’t even got to the MySQL side of things yet, because I can’t even get the swf to read my variables from my php file which has the following code:

\<?php  
//The value of $x would be printed to the screen but the SWF would not read the data  
$x = “abc”;  
print $x;  
//The value of $x would be printed to the screen and because of the prefix ‘myVar=’, the SWF will //interpret this as being the intended value for the variable myVar in the SWF  
print “myVar=$x”;  
?\>

I have followed the tutorial precisely and have had no joy. I have tried fiddling with the variables and still no joy. Pleaseeeeeeeeeeeee can someone help me, I am desperate.

Thanks alot
