hi there good people,
i'm trying to find a way to get flash and php&mySql working together and more or less figured out most of it, except when it comes to send the vars from php to flash, and it's driving me insane.....
<?
.......
$row = mysql_fetch_array($stmt);
$strn = "&n&name=".$row['name']."&surname=".$row['surname']."&";
echo $strn;
?>
and what happens is that flash for the &name parameter outputs - $row['name'] - instead of the of the value contained in that array position.
i've checked and double checked php output and it's correct, and even tried hard-code it, as in:
<?
echo "&n&name=wilson&surname=edgar&";
?>
and this works just fine... the output in flash is as it's supposed to be.
does anyone knows why??? and how can i solve?
pointers are more than welcomed.
thanks in advance for your time
loading php vars in flash
Moderator: General Moderators
-
coffeyesplease
- Forum Newbie
- Posts: 2
- Joined: Tue Jul 01, 2003 6:47 pm
hi, well i've solved the problem when i found this open source implementation of flash remoting.
http://cabron.sourceforge.net
it still doesn't answer my question directly, but it solved my problem.
apart from quite funny name, it seems to be working o.k, i've only been using it for 24 hours, so don't take this as the most valid and experienced opinion, just my 2 cents.
take care
http://cabron.sourceforge.net
it still doesn't answer my question directly, but it solved my problem.
apart from quite funny name, it seems to be working o.k, i've only been using it for 24 hours, so don't take this as the most valid and experienced opinion, just my 2 cents.
take care
I haven't checked out Cabron yet, but I've heard great things about AMFPHP (http://www.amfphp.org).
Haven't gotten around to toying with Flash Remoting yet, but I plan to in the near future. Let me know how it works for you.
Haven't gotten around to toying with Flash Remoting yet, but I plan to in the near future. Let me know how it works for you.