Hiya,
I'm trying to learn the basics of making flash/php and mysql communicate.
I tried the tutorial found here:
http://www.flashvillage.com/forums/show ... php?t=3694
When I try and run this in Flash i the total_txt box was undefined. After changing the last line of hte php to
echo("&result=$rtnValue&received1=$fVar1&received2= $fVar2");
the total_txt box just shows $rtnValue. Something similar has happening with a lot of other tutorials too.
Any ideas how i can fix this, as once I have this sorted I can starting mesing around with a mysql database etc.
Cheers in advance
Sluke
Echo to Flash problem.
Moderator: General Moderators
-
eliteghost
- Forum Newbie
- Posts: 6
- Joined: Sun Mar 22, 2009 7:53 pm
Re: Echo to Flash problem.
this is somthing i plan to learn too, here are links that help me alot
http://www.gotoandlearn.com/
http://us3.php.net/manual/en/book.swf.php
Hope these help, sorry im not an expert
http://www.gotoandlearn.com/
http://us3.php.net/manual/en/book.swf.php
Hope these help, sorry im not an expert
Re: Echo to Flash problem.
Cheers,
I managed to sort it out it was just a syntax error, it should have read:
echo '&result='.$rtnValue.'&received1='.$fVar1.'&received2='.$fVar2;
I'm probably gonna make a tut once I'm done as our app is gonna be really simple and I think it'll cover all the easy steps.
I managed to sort it out it was just a syntax error, it should have read:
echo '&result='.$rtnValue.'&received1='.$fVar1.'&received2='.$fVar2;
I'm probably gonna make a tut once I'm done as our app is gonna be really simple and I think it'll cover all the easy steps.