PHP and Flash MX

I am trying to have a flash movie send a variable to a php script and have the php script echo the variable into a browser

What I have as of now is a button and an input text box
The textbox variable is “data”, of course with out the quotes.
The actionscript for the button is as follows:

on (release) {
loadVariablesNum(“phpscript.php”, 0, “POST”);
}

Now my php script is as follows:

?php
echo "html head /head body $data /body /html ";
?

I do have the <> signs in my php code I just could not get it to display correctly in the forum
I am going mad, what am I doing wrong?
I am using PHP4
Please help…

this might help:

http://www.kirupaforum.com/showthread.php?s=&threadid=9616&perpage=15&highlight=php%20write%20HTML&pagenumber=2

WOOHOOOO!!!
I mucked with my actionscript for a few and got it to werk.

actionscript used:

on (release) {
textbox.send(“http://helpdeskweb/hdweb/dbegley/test.php”, “”,“POST”);
getURL(“http://helpdeskweb/hdweb/dbegley/test.php”, “_blank”, “GET”);
}

I used the same PHP script as well.

Thanks for you help

-caffine fiend