# PHP and flash - not working..?

**URL:** <https://forum.kirupa.com/t/php-and-flash-not-working/164776>\
**Category:** programming\
**Created:** [October 4, 2005, 6:54pm UTC](https://forum.kirupa.com/t/php-and-flash-not-working/164776 "2005-10-04T18:54:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jerry](https://avatars.discourse-cdn.com/v4/letter/j/5daacb/32.png) [@jerry](https://forum.kirupa.com/u/jerry)\
**Post date:** [October 4, 2005, 6:54pm UTC](https://forum.kirupa.com/t/php-and-flash-not-working/164776/1 "2005-10-04T18:54:42Z")

</div>

Hey there! 🙂

I’m playing around with PHP and flash at the moment. And this is perhaps a silly question, but i’m trying to display ‘a part of the url’ in my flash movie (in a dynamic textfield).  
It’s a rather simple setup, I’ve got my flash movie and two PHP documents (myMovie.php and test.php) - in my flash movie I’ve got a button and a dynamic textfield (with a var name of ‘cake’).  
The following action is assigned to the button:

```auto
on (release) {
	loadVariablesNum ("test.php", "0", "Post");
}

```

The test.php looks like this:

```php
<?php

include "MyTest.php";

print "_root.cake=$showit";

?>

```

myMovie.php contains my flash movie and the following PHP code:

```php
<?php
$showit = $id;
?>

```

The idea is, that when typing the URL like this: **myMovie.php?id=hello** , and then pressing the button, the textfield should show ‘hallo’ - BUT, it’s not working, and it’s probably because I don’t know enough about PHP (and flash for that matter…) ☹

Could someone please point me in the right direction - any help would be nice… 🙂
