# Passing php variables to flash

**URL:** <https://forum.kirupa.com/t/passing-php-variables-to-flash/211736>\
**Category:** Uncategorized\
**Created:** [January 4, 2007, 6:05pm UTC](https://forum.kirupa.com/t/passing-php-variables-to-flash/211736 "2007-01-04T18:05:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![shax](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@shax](https://forum.kirupa.com/u/shax)\
**Post date:** [January 4, 2007, 6:05pm UTC](https://forum.kirupa.com/t/passing-php-variables-to-flash/211736/1 "2007-01-04T18:05:51Z")

</div>

Hi, I juse signed up today, I’ve been looking high and low for an answer to this problem for ages and I can’t seem to get anything, basically I’m trying to send variables to flash from php and I can but the problem is that instead of showing the value of the variable, its name is shown instead.

This is the php code that sends to flash:

```
echo "&response=".$response;
echo "&username=".$username;

```

and this is the actionscrip which should receive it:

status1.text = data.response+" "+data.username;

(the loadvars variable i used to send and received the vars is called data).

I really hope someone can help because I need this for a project I’m doing after consulting numerous books, I’ve come up with nothing. PLEASE HELP!!
