# Php/flash passing variables back and forth

**URL:** <https://forum.kirupa.com/t/php-flash-passing-variables-back-and-forth/96251>\
**Category:** Uncategorized\
**Created:** [December 6, 2003, 10:04pm UTC](https://forum.kirupa.com/t/php-flash-passing-variables-back-and-forth/96251 "2003-12-06T22:04:42Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Maizoon](https://avatars.discourse-cdn.com/v4/letter/m/3d9bf3/32.png) [@Maizoon](https://forum.kirupa.com/u/Maizoon)\
**Post date:** [December 6, 2003, 10:04pm UTC](https://forum.kirupa.com/t/php-flash-passing-variables-back-and-forth/96251/1 "2003-12-06T22:04:42Z")

</div>

Hello,

I have decided to take the leap into the world of php and find it a little frustrating. I got an input box from flash (with a submit button) to go to php and then be displayed back in flash. Thats all fine and dandy but what I’d really like to know how to do is have a button submit a variable (no input box) to php, then read that variable back in flash which affects an MC in flash. For example if you push a button the variable is home. If the variable is home then the btnHome is lit up. Which then I could have an html page with href=“myscript.php?page=home” or something which would also make the btnHome lit up. Does this make sense?
