# LoadVars I get undifined variable error

**URL:** <https://forum.kirupa.com/t/loadvars-i-get-undifined-variable-error/259433>\
**Category:** flash\
**Created:** [May 5, 2008, 12:35pm UTC](https://forum.kirupa.com/t/loadvars-i-get-undifined-variable-error/259433 "2008-05-05T12:35:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![joseph\_kliotech](https://avatars.discourse-cdn.com/v4/letter/j/eb8c5e/32.png) [@joseph\_kliotech](https://forum.kirupa.com/u/joseph_kliotech)\
**Post date:** [May 5, 2008, 12:35pm UTC](https://forum.kirupa.com/t/loadvars-i-get-undifined-variable-error/259433/1 "2008-05-05T12:35:04Z")

</div>

i create the ac file and get the variable from php but that tel undefined see my coding and give me asp this is my coding

## AS coding myLoadVars = new LoadVars(); myLoadVars.specificvariable = “Value”; // specificvariable value will be submited to the php file myLoadVars.sendAndLoad(“[http://localhost/flash\_tour.php](http://localhost/flash_tour.php)”, this, “POST”); //now, let us set onLoad! trace(myLoadVars.status1) myLoadVars.onLoad = function(success) { myTextBox.text = this.status1; };

this is php coding  
\<?php  
$name\_test = “Joe”;  
echo “&status1 = $name\_test”;  
?\>  
what is wrong here pl
