Я возвращаю массив из php в json
вот массив php
$cities = array();
while($row = mysql_fetch_array($result)){
$cityRow= array('cityNo'=>$row['city_no'], 'cityName'=>$row['city_name']);
$cities[]=$cityRow;
}
echo json_encode($cities);
Вот этот JSON
$.getJSON("controllers/Customer.controller.php",param,function(result){
// what should I write here to reach the array elements??
});