First convert the PHP array to JSON array using json_encode function in PHP.
$json_array=json_encode($data); // $ data is a multidimensional PHP array.
Don’t forget to include jQuery to your PHP page to use jQuery.parseJSON() function. (If you are not using any jQuery, download from jquery.com)
Follow Mohammed Safeer On twitter.