Hallo,
ich habe das Problem, dass ich per JS folgendes JSON an PHP übergebe:
PHP gibt allerdings bei json_decode NULL zurück. Ich hab PHP Version 5.2.5 drauf. json_encode funktioniert einwandfrei. Hat jemand eine Idee?
ich habe das Problem, dass ich per JS folgendes JSON an PHP übergebe:
Code:
{"1":{"mainCat":"0","name":"foobar"},"2":{"mainCat":"0","name":"asd"},"3":{"mainCat":"1","name":"foo"},"4":{"mainCat":"2","name":"asdsdg"},"5":{"mainCat":"2","name":"Basketball"},"6":{"mainCat":"4","name":"123"},"7":{"mainCat":"4","name":"test"}}
Kommentar