gsim
10-17-2005, 12:31 PM
Is there an issue with regards the order variables are sent from flash to php?
I have actionscript code:
function handleLoad (success){
if (success) {
if (receivedData.myStatus=="1"){
_root.userID=receivedData.myID;
gotoAndPlay("questions",1);
} else {
submitMessage.text=receivedData.Message;
}
}
}
This works fine when I have following php
if ($numR==1) {
print "&myID=$id";
print "&Message=success Login Complete";
}
But if I change the order around so message comes before myID then it does not work. I need to send about 50 variables from a mysql database so I am a little concerned that they have to be received in the order is this the case?
Thanks
I have actionscript code:
function handleLoad (success){
if (success) {
if (receivedData.myStatus=="1"){
_root.userID=receivedData.myID;
gotoAndPlay("questions",1);
} else {
submitMessage.text=receivedData.Message;
}
}
}
This works fine when I have following php
if ($numR==1) {
print "&myID=$id";
print "&Message=success Login Complete";
}
But if I change the order around so message comes before myID then it does not work. I need to send about 50 variables from a mysql database so I am a little concerned that they have to be received in the order is this the case?
Thanks