# Loading variable in flash 8 from PHP ...?

**URL:** <https://forum.kirupa.com/t/loading-variable-in-flash-8-from-php/219612>\
**Category:** Uncategorized\
**Created:** [March 18, 2007, 6:01pm UTC](https://forum.kirupa.com/t/loading-variable-in-flash-8-from-php/219612 "2007-03-18T18:01:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill12](https://avatars.discourse-cdn.com/v4/letter/b/58956e/32.png) [@Bill12](https://forum.kirupa.com/u/Bill12)\
**Post date:** [March 18, 2007, 6:01pm UTC](https://forum.kirupa.com/t/loading-variable-in-flash-8-from-php/219612/1 "2007-03-18T18:01:23Z")

</div>

Hi everyone,

I’m new in scripting PHP with flash  
I have a php file that echos one variable  
and i want to load this variable in my flash site and not running the php as a new page  
the code of the pcp is this  
\<?  
…  
…  
if ($user == 1){  
echo “\<b\>$user\</b\> User Online”;  
}  
else{  
echo “\<b\>$user\</b\> Users Online”;  
}  
?\>

how can i get this var into a dynamic text ???  
i tried some ways i found on some webpages but nothing happen  
if anyone can help it would be nice

Thanx
