# Displaying Flash Data in PHP

**URL:** https://forum.kirupa.com/t/displaying-flash-data-in-php/133297
**Category:** Uncategorized
**Created:** [January 7, 2005, 7:34am UTC](https://forum.kirupa.com/t/displaying-flash-data-in-php/133297 "2005-01-07T07:34:36Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![kedar](https://avatars.discourse-cdn.com/v4/letter/k/7bcc69/32.png) [@kedar](https://forum.kirupa.com/u/kedar)
#### Post date: [January 7, 2005, 7:34am UTC](https://forum.kirupa.com/t/displaying-flash-data-in-php/133297/1 "2005-01-07T07:34:36Z")

</div>

Hi,

when I run the following code in the getvars.php and click the submit button in flash ----

\<?  
// Receiving the variables.  
$name = $\_POST[‘name’];  
$age = $\_POST[‘age’];  
$eye = $\_POST[‘eye’];

//Printing out the variables.  
echo "  
Hi $name .\<br\>  
You are $age years old.\<br\>  
You have$eye eyes.";  
?\>  
------ all i got is like this  
Hi .  
You are years old.  
You have eyes.  
My flash code is like this on frame 1:  
submit.onPress = function() {  
getURL(“getvars.php”, “\_blank”, “POST”);  
};

Where did i make mistake?  
Any help on that?
