dcsimg
A Flash Developer Resource Site

Results 1 to 4 of 4

Thread: Simple PHP

  1. #1
    Member
    Join Date
    Jan 2001
    Location
    Tampa, FL
    Posts
    62

    Simple PHP

    Im' a little rusty with PHP and mySQl, but i will make this simple.

    It seems like a lot of my old scripts don't work has something changed?

    I got storing php to Mysql to work from flash.
    But i can not get retrieving a simple variable from file.php to flash.

    does this work anymore?
    onClipEvent (load) {
    loadVariablesNum("id.php", 0, "GET");
    }

    i got a dynamic text field labeled "city"
    and a simple file.php with print "city = $x";

    help

  2. #2

  3. #3
    Registered User
    Join Date
    Feb 2001
    Posts
    13,044
    Hi,

    probably the one change that bites here: in the old days text fields had just a variable name - today there is an instance name and a variable name, and the instance name tends to be more prominent.

    As sstalder mentioned, you are encouraged to switch to the new method (using loadvars object and text field instance name)

    Musicman

  4. #4
    Member
    Join Date
    Jan 2001
    Location
    Tampa, FL
    Posts
    62
    I ended up just using a .txt file to store and retrieve data, even tho I spent the time to setup mySQl. I will explore this option later with photo's maybe.

    Thanks for your response
    1100101010100101

Posting Permissions

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




Click Here to Expand Forum to Full Width

HTML5 Development Center