# Getting a php variable and using it in flash

**URL:** <https://forum.kirupa.com/t/getting-a-php-variable-and-using-it-in-flash/163987>\
**Category:** Uncategorized\
**Created:** [September 27, 2005, 8:52pm UTC](https://forum.kirupa.com/t/getting-a-php-variable-and-using-it-in-flash/163987 "2005-09-27T20:52:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ashleek007](https://avatars.discourse-cdn.com/v4/letter/a/e5b9ba/32.png) [@Ashleek007](https://forum.kirupa.com/u/Ashleek007)\
**Post date:** [September 27, 2005, 8:52pm UTC](https://forum.kirupa.com/t/getting-a-php-variable-and-using-it-in-flash/163987/1 "2005-09-27T20:52:07Z")

</div>

hey,

I’ve got a variable in flash ‘$desc’, i have sent the variables from php to flash using:-

myLoadVars.load(“scriptA.php”);

So i should have the variable ‘desc’ available to use in flash.

But how do i use this value?  
how do i get it and append it to another variable?  
all i want to do add this variable to another, why doesnt this work???:-

$path = “[http://www.failsworthschool.co.uk/Failsworth/files/](http://www.failsworthschool.co.uk/Failsworth/files/)”+desc;

im really bamboozled, and i kno itl be a really easy problem, so im sorry for my stupidity!!lol

cheers everyone, ur the best! :krazy:
