summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--user_guide/changelog.html2
-rw-r--r--user_guide/database/helpers.html2
-rw-r--r--user_guide/database/queries.html2
3 files changed, 2 insertions, 4 deletions
diff --git a/user_guide/changelog.html b/user_guide/changelog.html
index 7ba6c3e7b..d17ae9ca7 100644
--- a/user_guide/changelog.html
+++ b/user_guide/changelog.html
@@ -86,7 +86,7 @@ Change Log
<li>Fixed an AR_caching error where it wasn't tracking table aliases (#3463).</li>
<li>Fixed a bug in the DB class testing the $params argument.</li>
<li>Fixed a bug in the Table library where the integer 0 in cell data would be displayed as a blank cell.</li>
- <li>Fixed a bug (#3523) in get_filenames() with recursion.</p>
+ <li>Fixed a bug (#3523) in get_filenames() with recursion.</li>
</ul>
<h2>Version 1.6.1</h2>
diff --git a/user_guide/database/helpers.html b/user_guide/database/helpers.html
index d6cf170d7..409660e2a 100644
--- a/user_guide/database/helpers.html
+++ b/user_guide/database/helpers.html
@@ -67,7 +67,7 @@ Query Helpers
<h2>$this->db->affected_rows()</h2>
<p>Displays the number of affected rows, when doing "write" type queries (insert, update, etc.).</p>
-</p>Note: In MySQL "DELETE FROM TABLE" returns 0 affected rows. The database class has a small hack that allows it to return the
+<p>Note: In MySQL "DELETE FROM TABLE" returns 0 affected rows. The database class has a small hack that allows it to return the
correct number of affected rows. By default this hack is enabled but it can be turned off in the database driver file.</p>
diff --git a/user_guide/database/queries.html b/user_guide/database/queries.html
index 59f7e23b4..e443958e0 100644
--- a/user_guide/database/queries.html
+++ b/user_guide/database/queries.html
@@ -92,13 +92,11 @@ It simply lets you submit a query. Most users will rarely use this function.</p>
CodeIgniter has two functions that help you do this:</p>
<ol>
-</li>
<li><strong>$this->db->escape()</strong> This function determines the data type so that it
can escape only string data. It also automatically adds single quotes around the data so you don't have to:
<code>$sql = "INSERT INTO table (title) VALUES(".$this->db->escape($title).")";</code></li>
-
<li><strong>$this->db->escape_str()</strong> This function escapes the data passed to it, regardless of type.
Most of the time you'll use the above function rather then this one. Use the function like this: