-
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
-
Use load() or sendAndLoad() to communicate with PHP.
-
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
-
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
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|