I want to fill a 2D array in php from a JSON object in javascript on the client. Can someone help me make this functionality?
json_decode ()
http://php.net/manual/en/function.json-decode.php
Head to head, knowing nothing about your code
you can use json_decode
use it as follows:
$array = json_decode($_POST['data'], true); #check the second parameter set to true, otherwise you will get a stdclass.