Log in

View Full Version : Flash & PHP



d-machine
08-28-2009, 01:27 PM
Hi,

I have a flash button and I want that when you click on it,
a PHP function will update some data in MySQL.

How can I do it?
(I know PHP and MySQL, but I don't know to combine it with Flash)

Thanks.

thetestingsite
08-28-2009, 01:50 PM
The way I've done it in the past was using a button and on release use loadVariables('/path/to/file.php') which will open the file, execute the code, wait for a variable to be sent back to flash.

Hope this helps.

d-machine
08-28-2009, 03:51 PM
I understand your general idea, but I don't really know how to apply it.
Is there a chance for more detailed explanation (or maybe an example)?