# Can't get variable of php

**URL:** <https://forum.kirupa.com/t/cant-get-variable-of-php/5341>\
**Category:** Uncategorized\
**Created:** [September 8, 2002, 11:11am UTC](https://forum.kirupa.com/t/cant-get-variable-of-php/5341 "2002-09-08T11:11:58Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chucky2222](https://avatars.discourse-cdn.com/v4/letter/c/e274bd/32.png) [@chucky2222](https://forum.kirupa.com/u/chucky2222)\
**Post date:** [September 8, 2002, 11:11am UTC](https://forum.kirupa.com/t/cant-get-variable-of-php/5341/1 "2002-09-08T11:11:58Z")

</div>

Hi,  
I have followed this tutorial

[http://www.kirupa.com/developer/actionscript/flash\_php\_mysql.asp](http://www.kirupa.com/developer/actionscript/flash_php_mysql.asp)

But is doens’t work. It seems so simple but i can’t get it runnig

If i start the test.php i get this . **abcmyvar=abc**.  
If i start the test.html i don’t see anything. i have changed the colour, and a background, but i still see nothing.  
Anyone an idea?

[http://koe.mine.nu:8080/test/1/test.html](http://koe.mine.nu:8080/test/1/test.html)  
[http://koe.mine.nu:8080/test/1/test.php](http://koe.mine.nu:8080/test/1/test.php)  
[http://koe.mine.nu:8080/test/1/test.fla](http://koe.mine.nu:8080/test/1/test.fla)

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [September 8, 2002, 2:06pm UTC](https://forum.kirupa.com/t/cant-get-variable-of-php/5341/2 "2002-09-08T14:06:03Z")

</div>

I finally have found what was wrong:  
print “myvar=$x”; changed in  
print “&myvar=$x”;

And it works. bug in tutorial?
