I show you a function I made that lets you use your javascript object as a php object. Basically it takes your JS object and turns into a JSON string that PHP decodes. The key to making this work is stripping strings once you json_decode, because it addes slashes when it goes through post.
The other key, is to take into account indexed arrays, that way if a property of a JS object is an array, it will still be an array when it gets to PHP.
На этой странице сайта вы можете посмотреть видео онлайн Javascript Object to a PHP Object длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь optikalefx 15 Январь 2010, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 27,184 раз и оно понравилось 95 зрителям. Приятного просмотра!