 <p>You want to call <code>$user-&gt;username</code> not <code>$user-&gt;$username</code>.</p> <pre><code>&lt;?php require_once 'core/init.php'; $user = DB::getInstance()-&gt;get('users', array('username', '=', 'alex')); if(!$user-&gt;count()) { echo 'No User'; } else { foreach($user-&gt;results() as $user) { echo $user-&gt;username, '&lt;br&gt;'; } } </code></pre>