how to get value from an array
<p>how to get the value 4500 to a variable</p>

<pre><code>stdClass Object ( [total] =&gt; 4500 ) 
</code></pre>

<p>i tried like these </p>

<pre><code>$abc['total']
$abc-&gt;total 
</code></pre>

<p>when i print the $abc->total</p>

<p>i got</p>

<p>Array ( [0] => stdClass Object ( [total] => 4500 ) ) </p>

<p>please help me</p>
