I returned an array of JSON data type from javascript to PHP, I used json_decode($data, true) to convert it to an associa
JSON
javascript
PHP
json_decode($data, true)
As you're passing true as the second parameter to json_decode, in the above example you can retrieve data doing something similar to:
json_decode