# Can't load var to Flash?

**URL:** <https://forum.kirupa.com/t/cant-load-var-to-flash/161346>\
**Category:** programming\
**Created:** [September 3, 2005, 12:43am UTC](https://forum.kirupa.com/t/cant-load-var-to-flash/161346 "2005-09-03T00:43:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![nkkey](https://avatars.discourse-cdn.com/v4/letter/n/ac91a4/32.png) [@nkkey](https://forum.kirupa.com/u/nkkey)\
**Post date:** [September 3, 2005, 12:43am UTC](https://forum.kirupa.com/t/cant-load-var-to-flash/161346/1 "2005-09-03T00:43:08Z")

</div>

Hi everyone, I 'm a nrebie to Flash + PHP +MySQL, I followed the tutorial to make a simplae login application but it only works when I load the swf but not the html which holds the swf.

I put:  
loadVariablesNum(“php/login.php”, 0, “POST”);  
in the button.

And simple as:  
echo “checklog=1”;  
in login.php

If I load the login.swf, it works but if I load login.html which holds login.swf, it doesn’t . Can anyone help me?
