Hello,
im very new in actionscript…
i write my own code for php and actionscript…and i had a problem with it…
How to pass php variable to action script variable ???
e.g
my php code (test.php) is
<?php
print"&phpVar=1";
?>
My action script code is
loadVariablesNum(“test.php”, 0, “POST”);
if(phpVar == ‘1’)
{
condition = “Condition A”;
}
else
{
condition = "Condition B";
}
The output should be ** “Condition A”** Since phpVar = 1 …
And my problem is…
The output of this script is always “Condition B”
Means this script not detect “phpVar = 1”
So my question, how to show this output “Condition A” by using php variable ?
Pleas help me…any suggestion should be great
Thanks