JSON Array to PHP Array - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: JSON Array to PHP Array (/showthread.php?tid=20171) |
JSON Array to PHP Array - El Forum - 06-30-2009 [eluser]Rambo Frank[/eluser] I have created an array in JavaScript but I can not find a way to save it to PHP. I tried to a hidden input's value equal the array I created but all I get on the PHP side is [Object object]. Is there an easier way to do this with out having to create a serialize function? Thanks. JSON Array to PHP Array - El Forum - 06-30-2009 [eluser]slowgary[/eluser] I think json_decode should do the trick... http://us.php.net/json_decode |