Echoing an array PHP
<p>I would like to echo the results of this array in a readable format "[id], [reason], how can I do that?</p>

<pre><code>$s1 = "SELECT DISTINCT `id`, `reason` FROM wlp_$this-&gt;client.lu_unallocation_reasons";
        $m1 = $this-&gt;conn1-&gt;_execute($s1);
        while ($r1 = $this-&gt;conn1-&gt;_nextRow($m1)) {
            $reasons[] = array('id' =&gt; $r1['id'], 'reason' =&gt; $r1['reason']);
        }
</code></pre>
