# How do you load a PHP Variable from the page your movie is on?

**URL:** <https://forum.kirupa.com/t/how-do-you-load-a-php-variable-from-the-page-your-movie-is-on/207216>\
**Category:** flash\
**Created:** [November 15, 2006, 5:18pm UTC](https://forum.kirupa.com/t/how-do-you-load-a-php-variable-from-the-page-your-movie-is-on/207216 "2006-11-15T17:18:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chemicaltheory](https://avatars.discourse-cdn.com/v4/letter/c/7c8e57/32.png) [@chemicaltheory](https://forum.kirupa.com/u/chemicaltheory)\
**Post date:** [November 15, 2006, 5:18pm UTC](https://forum.kirupa.com/t/how-do-you-load-a-php-variable-from-the-page-your-movie-is-on/207216/1 "2006-11-15T17:18:00Z")

</div>

I have a question about PHP variable… say I am loading my flash movie on a php page that has a variable called “myId” in the url of the page ([http://www.mysite.com/mypage.php?myId=123](http://www.mysite.com/mypage.php?myId=123)).

How can I load that variable (myId) into my flash movie, send it to a php page ([http://www.mysite.com/dynamicpage.php?myId=123](http://www.mysite.com/dynamicpage.php?myId=123)), and then take the response and populate my movie?

Actually, I just need to know how to send it to a php page. I got the rest I think. Thanks!
