Page 1 of 1

Flash and MySQL

Posted: Wed Aug 11, 2004 3:55 pm
by monkeyj
Is there anyway to connect to a database through Flash...

I only wanna do some basic.. delete from a table entry.. and add to it...

to do things with games and stuff for my site...

Posted: Wed Aug 11, 2004 4:04 pm
by feyd
Although I'm unsure of the details, I know it's possible by issuing page requests through Flash..

Posted: Wed Aug 11, 2004 4:09 pm
by monkeyj
But, issuing the PAGE with the PHP? or acctually running it IN flash?

Posted: Wed Aug 11, 2004 6:59 pm
by feyd
running it all in flash, having flash issue the requests, and display the data..

HmMmm

Posted: Wed Aug 11, 2004 8:45 pm
by monkeyj
Too bad I'm new to that whole thing.. lol

Otherwise I'd try finding it in flash-db.com or something...

:-/

Does Flash actually CONNECT to the mysql, or do u need flash to call up some php file on a server, then that calls the mysql, and then flash can interpret it...?

Hmmm...

Posted: Wed Aug 11, 2004 9:33 pm
by feyd
I'd guess that flash can only call the php file..

Posted: Thu Aug 12, 2004 1:49 am
by jtc970
I just had to do this
I used actionscript

Code: Select all

this.loadVariables("http://www.mysite.com/doit.php",'POST');
flash sends some variables via POST then doit.php does the database functions based on those and echos out the result like
status=done