我想以可读的格式回显这个数组的结果“[id],[reason],我该怎么做?
$s1 = "SELECT DISTINCT `id`, `reason` FROM wlp_$this->client.lu_unallocation_reasons";
$m1 = $this->conn1->_execute($s1);
while ($r1 = $this->conn1->_nextRow($m1)) {
$reasons[] = array('id' => $r1['id'], 'reason' => $r1['reason']);
}