Hi in my view I am creating a two dimentional array in javascript and passting it to the update controller as follows :

Array in Javascript

```
item[0][0] = null;
item[0][1] = 1;
item[1][0] = 2;
item[1][0] = 3;

```

`alert (item);` will show `,1,2,3`

Passing it to Zend controller as :

```
$.ajax({
            type: "POST",
            url: "admin/navigation/update",
            data: item,
            success: function(data) {
                alert(data);
            },
            error: function() {
                alert("failure");
            }
        });
        return false;
    }

```

How can I receive this from update controller and assign to it a php array as

```
public function updateAction() {
        $data = $this->_request->getPost();

      //Code should come here
 array(
      item1(
       array(
        value1 = item[0][0] //From javascript array
        value2 = item[0][1]
       )
     )
      item2(
       array(
        value1 = item[1][0]
        value2 = item[1][0]
       )
      )
    )
}

```

I'm a n00b in Zend and any help would be much appriciated :)