Added count_all_results() function to Active Record.
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index a47d3a0..5028032 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -77,6 +77,7 @@
     <li>Added <kbd>reduce_multiples()</kbd> function to <a href="./helpers/string_helper.html">string helper</a>.</li>

     <li>Added <kbd>quotes_to_entities()</kbd> function to <a href="./helpers/string_helper.html">string helper</a>.</li>

     <li>Added <kbd>form_reset()</kbd> function to <a href="./helpers/form_helper.html">form helper</a>.</li>

+    <li>Added <kbd>count_all_results()</kbd> function to <a href="./database/active_record.html">Active Record</a>.</li>

     <li>Added a language entry for valid_ip validation error.</li>

     <li>Added a third parameter to Active Record's like() clause to control where the wildcard goes. </li>

     <li>Moved the safe mode and auth checks for the Email library into the constructor. </li>

diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html
index 1c4783a..d608459 100644
--- a/user_guide/database/active_record.html
+++ b/user_guide/database/active_record.html
@@ -392,6 +392,18 @@
 // Produces: LIMIT 20, 10 (in MySQL.  Other databases have slightly different syntax)</code>

 

 

+<h2>$this->db->count_all_results();</h2>

+

+<p>Permits you to determine the number of rows in a particular Active Record query. Queries will accept Active Record restrictors such as where(),  or_where(), like(), or_like(), etc. Example:</p>

+<code>echo $this->db->count_all_results('<var>my_table</var>');<br />

+

+// Produces an integer, like 25<br />

+<br />

+$this-&gt;db-&gt;like('title', 'match');<br />

+$this-&gt;db-&gt;from('<var>my_table</var>');<br />

+echo $this-&gt;db-&gt;count_all_results();<br />

+// Produces an integer, like 17 </code>

+

 <h2>$this->db->count_all();</h2>

 

 <p>Permits you to determine the number of rows in a particular table.  Submit the table name in the first parameter. Example:</p>

@@ -401,7 +413,6 @@
 // Produces an integer, like 25</code>

 

 

-

 	

 <a name="insert">&nbsp;</a>

 <h1>Inserting Data</h1>