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.
En esta página del sitio puede ver el video en línea Javascript Object to a PHP Object de Duración hora minuto segunda en buena calidad , que subió el usuario optikalefx 15 enero 2010, comparta el enlace con amigos y conocidos, en youtube este video ya ha sido visto 27,184 veces y le gustó 95 a los espectadores. Disfruta viendo!