4
$list=array('Andaman and Nicobar'=>array('North and Middle Andaman', 'South Andaman', 'Nicobar'), 'Andhra Pradesh' => array('Adilabad', 'Anantapur',));
[['North and Middle Andaman', 'South Andaman', 'Nicobar'],['Adilabad', 'Anantapur']]
所以你問如何讓PHP輸出該嵌套數組的JSON表示?爲什麼JavaScript標籤? – nnnnnn 2013-03-19 05:43:24