Hey all!
Ok I have JS object w/ following structure:
[code=php]json_data_object.422.name
thta should of out put me “hello world” as it is what it is in array but it does not as there is 422 there ?
That’s my ID from database, and I gotta use it
Now, if I change that ID to something in letters say to “i” then everything is fine. ex
[code=php]json_data_object.i.name
That one would work, but then I have to chnge JSON string thta pulls data from DB and i cant really do that…
[B]So the question is how can I make 422 (numbers) works the same way as just string values in the array/object tree?
hope some one can help!
tnx!