 <p>To output the results in a human readable form, as opposed to print_r, you could simply cycle through the results in a foreach loop;</p> <pre><code>foreach($balance_info as $key=&gt;$value) { echo "$key: $value&lt;br /&gt;"; } </code></pre> <p>Or for more specific naming, if you know what the columns are, using a <code>-&gt;</code> to access the objects properties and echo them out;</p> <pre><code>Client: &lt;?php echo $balance_info-&gt;client_user_id; ?&gt;&lt;br /&gt; Balance: &lt;?php echo $balance_info-&gt;available_credit; ?&gt;&lt;/br /&gt; Time: &lt;?php echo $balance_info-&gt;last_updated_time; ?&gt; </code></pre> <p><a href="http://php.net/manual/en/sdo.sample.getset.php" rel="nofollow">http://php.net/manual/en/sdo.sample.getset.php</a></p>