Strange. My data gets loaded when I do it on my PC, but when same thing is uploaded, it gives undefined error. If someone has solution, then please respond to my post. thanks.
Dear Sir, using AS2, I send data from flash to PHP. The data can be echoed in php. But when I use the same variable in query. PHP does not recognize the variable. for instance,
//$names is received safely from flash
//$namer can be echoed and shows that data has been received from flash
$namer=$_REQUEST['$names'];
$query=mysql_query("Select * FROM phone WHERE name='$namer'") or die(mysql_error());
//here $namer shows up blank and query is not run.
PLEASE HELP ME. I'LL BE THANKFUL.
i want it done in AS2 :(
hey undefined guys, just change the text box to dynamic and set variable name according to the var used in php file, for instance if it says echo 'message='.$x
, name ur text box as message
it'll work. but somebody tell me why variables from php don't flow to flash AS2 :(
Dear flashbuilding,
When i run this script with my query, and echo out returnBody=$body
I get the following
"undefined"
If you could help me with this, that would be great.
I need help Adam, with this code i am trying to move a object with multi data in flash, here the code.
myData = new LoadVars()
myData.load("x.php");
myData.ref = this
myData.onLoad = function(){
for(var i = 0; i< this.x; i++){
player._x = this.ref["x"][+i];
}
}
please help.
d8arted18
Hey Thanks Adam, going to play around with this later today, I'm aliitle worried about using a componant becouse I'd like to skin the box display to match my site theme, but I'll figure this out later.
Thanks Adam !
Thanks for the video tutorial Adam, I'd really like to use flash for a block on my webbie for pulling in member data from mysql but I can't find the tut page nor the source files on your webbie, I've serached around but canna find :( have you not made the page yet or can somebody link me up to the tut page.
Great video really got me thinking, I'd like to use alot more flash.