Results 1 to 3 of 3

Thread: Flash & PHP

  1. #1
    Join Date
    Nov 2007
    Posts
    151
    Thanks
    67
    Thanked 0 Times in 0 Posts

    Default Flash & PHP

    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.

  2. #2
    Join Date
    Sep 2006
    Location
    St. George, UT
    Posts
    2,769
    Thanks
    3
    Thanked 157 Times in 155 Posts

    Default

    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.
    "Computer games don't affect kids; I mean if Pac-Man affected us as kids, we'd all be running around in darkened rooms, munching magic pills and listening to repetitive electronic music." - Kristian Wilson, Nintendo, Inc, 1989
    TheUnlimitedHost | The Testing Site | Southern Utah Web Hosting and Design

  3. #3
    Join Date
    Nov 2007
    Posts
    151
    Thanks
    67
    Thanked 0 Times in 0 Posts

    Default

    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)?

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •