I made a game in Flash and now trying to do the high scores in PHP. I have created a text file that I am sending to PHP script and that is processed to be an array:
0 joe:55
1 margie:44
A thingie like this is called a property list in Lingo
index property:value
and in Director there are functions available to extract any of the elements if any one of the others is known. You can get index, if you know the value, or property if you know the index
This is called "database-like interaction"
since Director by itself does not work with databases (there are extras available, that help it out)
So I guess I am looking for a similar function in PHP if it exists. Or I might have to create two arrays and relate them.
How would I do it in this case?
The next step would be sorting the array and passing the top ten scores to Flash, where the original game exists, but I think I can handle that.
Thank you!
Natalia.