How to get values of key value pairs in php object?
<p>I have the ff:</p>

<pre><code>stdClass Object
(
    [id] =&gt; 1
    [contest_id] =&gt; 520
    [type] =&gt; terms
    [name] =&gt; Terms and conditions
    [lang] =&gt; en_US
    [slug] =&gt; asdf
    [anchor_text] =&gt; 
    [title] =&gt; asdf
    [body] =&gt; 

    asdfasdfasdfasdf



    asdfasfasfsad



    asdfasdfasdfasdfasdf



    [created] =&gt; 2013-05-22 18:40:30
    [modified] =&gt; 2013-05-22 18:40:30
    [Media] =&gt; Array
        (
        )

)
</code></pre>

<p>I want to get each of the values and output them in a page via html.</p>

<p>How do I get the ff?</p>

<pre><code>&lt;h1&gt; Object[name] &lt;/h1&gt;

&lt;p&gt; Object[body]&lt;/p&gt;
and so on and so on...
</code></pre>
