Flash > php > flash?

not sure i’m even asking the right question so bare with me…

i have a flash form which will post a variable to a php page. the php would take the variable and query a db.

my question is how would i get the results of that query to show up in the original flash movie?

ideally in the flash file, there would be an input textbox, a button, and a dynamic text field. when the variable is put into the text box and the button pressed, the query result would show up in the dynamic text field. but i’m not sure how to get the php to send that result back into the flash movie.

help? please… someone? anyone?