# Get simple variables from php

**URL:** <https://forum.kirupa.com/t/get-simple-variables-from-php/274713>\
**Category:** flash\
**Created:** [November 3, 2008, 2:36pm UTC](https://forum.kirupa.com/t/get-simple-variables-from-php/274713 "2008-11-03T14:36:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jo\_hann](https://avatars.discourse-cdn.com/v4/letter/j/898d66/32.png) [@jo\_hann](https://forum.kirupa.com/u/jo_hann)\
**Post date:** [November 3, 2008, 2:36pm UTC](https://forum.kirupa.com/t/get-simple-variables-from-php/274713/1 "2008-11-03T14:36:34Z")

</div>

Hey!

I am going to create few dynamic texts in a flash movie. The dynamic texts shall be based on few simple variables from a php-script.

This is an example of my php:  
[FONT=Courier New]$varone = “hello”;[/FONT]  
[FONT=Courier New]$vartwo = “One long message…”;[/FONT]  
[FONT=Courier New][/FONT]  
[FONT=Courier New]echo “&one=”;[/FONT]  
[FONT=Courier New]echo “$varone”;[/FONT]  
[FONT=Courier New]echo “&two=”;[/FONT]  
[FONT=Courier New]echo “$vartwo”;[/FONT]

The result would be:  
" &one=hello&two=One long message…& "

What is the Action Script to load this two variables to two dynamic texts?
