Welcome Guest, Not a member yet? Register   Sign In
JSON Array to PHP Array
#1

[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.
#2

[eluser]slowgary[/eluser]
I think json_decode should do the trick... http://us.php.net/json_decode




Theme © iAndrew 2016 - Forum software by © MyBB