JSON Array to PHP Array |
[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.
[eluser]slowgary[/eluser]
I think json_decode should do the trick... http://us.php.net/json_decode |
Welcome Guest, Not a member yet? Register Sign In |