echo json_decode data in php
<p>I have a value from database in json_encode format.</p>

<pre><code>[["Size: 10x24 (+150)","Backing: Black","Lines: 1","Border: No Border","Border Color: ","Flashing: No Thanks","Outdoor: No","Vertical: No","contoured cut: No","qty: 1","Text 1: Custom","Line 1: Red","Font 1: Arial"]]
</code></pre>

<p>I want to display it's <code>json_decode</code> format in table.</p>

<pre><code>$options = json_decode($options, true);
</code></pre>

<p>Then I am trying to put it in foreach loop:</p>

<pre><code>foreach ($options as $value)
{
    echo $value, "\n";
};
</code></pre>

<p>and the output is just <code>Array</code>.</p>

<pre><code>echo('&lt;pre&gt;'); print_r($json); echo('&lt;/pre&gt;'); 
</code></pre>

<p><code>print_r()</code> returns:</p>

<pre><code>Array
(
    [0] =&gt; Array
        (
            [0] =&gt; Size: 10x24 (+150)
            [1] =&gt; Backing: Black
            [2] =&gt; Lines: 1
            [3] =&gt; Border: No Border
            [4] =&gt; Border Color: 
            [5] =&gt; Flashing: No Thanks
            [6] =&gt; Outdoor: No
            [7] =&gt; Vertical: No
            [8] =&gt; contoured cut: No
            [9] =&gt; qty: 1
            [10] =&gt; Text 1: Custom
            [11] =&gt; Line 1: Red
            [12] =&gt; Font 1: Arial
        )

)
</code></pre>

<p>But it does not look good. which is the better and easy way to echo json_decode data in php?</p>