Sorry for my questions, but you are helping me a lot!!
I got one more, hope not to bother you...
how to request some data from PHP? (construct side, PHP will figure it out myself with a collegue)
example to request data from "Maria" (instead of John) to get her data:
{"name":"Maria", "age":31, "city":"New York"}
It all depends on the JSON so lets say I have the following:
{"name1":"Maria", "age1":31, "city1":"New York", "name2":"John", "age2":31, "city2":"New York"}
To get "Maria" you do JSON.get("name1")
To get "John" you do JSON.get("name2")