# Simple PHP in Flash help needed

**URL:** <https://forum.kirupa.com/t/simple-php-in-flash-help-needed/68810>\
**Category:** flash\
**Created:** [October 29, 2004, 4:54am UTC](https://forum.kirupa.com/t/simple-php-in-flash-help-needed/68810 "2004-10-29T04:54:39Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Erron](https://avatars.discourse-cdn.com/v4/letter/e/58956e/32.png) [@Erron](https://forum.kirupa.com/u/Erron)\
**Post date:** [October 29, 2004, 4:54am UTC](https://forum.kirupa.com/t/simple-php-in-flash-help-needed/68810/1 "2004-10-29T04:54:39Z")

</div>

Hi,

I went through the tutorial for getting data from php into flash but the data refuses to show.

i followed the tuorial on this page : [http://www.kirupa.com/developer/actionscript/flash\_php\_mysql.htm](http://www.kirupa.com/developer/actionscript/flash_php_mysql.htm)

here’s what i’ve got:

1. flash published in version 6, dynamic text box with Var being “myVar” converted to movie clip called myVar and the following code added to movie

> 

onClipEvent (load) {  
//assuming you have a personal web server and PHP installed locally  
loadVariables(“[http://www.warforpeace.net/abc.php](http://www.warforpeace.net/abc.php)”, this, “GET”);  
}

now my abc.php file:

> \<?php  
> $x = “abc”;  
> print $x;  
> print “myVar=$x”;  
> ?\>

i then made up a page to show the flash file at this link [http://www.warforpeace.net/abcpage.php](http://www.warforpeace.net/abcpage.php)

as you can see, a blank blue square.

can anyone please help??
