how to output it?
<pre><code>stdClass Object
(
    [nid] =&gt; 98
    [body] =&gt;.....
       [field_mg] =&gt; Array
        (
            [0] =&gt; Array
                (

                    [data] =&gt; Array
                        (
                            [alt] =&gt; 
                            [title] =&gt; 
                        )

                    [uid] =&gt; 1

                    [view] =&gt; 98
</code></pre>

<p>The above is the <code>print_r()</code> result. The object is <code>$test</code>, now I want to output the <code>view</code> value (98).</p>

<p>How do I output it?  <code>$test-&gt;body[field_img][0][view]</code> will not work.</p>
