an><span class="p">;</span>
<span class="p">}</span>

<span class="k">echo</span> <span class="s1">&#39;Total Results: &#39;</span> <span class="o">.</span> <span class="nv">$query</span><span class="o">-&gt;</span><span class="na">num_rows</span><span class="p">();</span>
</pre></div>
</div>
<p>The above result() function returns an array of <strong>objects</strong>. Example:
$row-&gt;title</p>
</div>
<div class="section" id="standard-query-with-multiple-results-array-version">
<h2>Standard Query With Mult