summaryrefslogtreecommitdiffstats
path: root/user_guide/database/queries.html
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-08-31 16:24:56 +0200
committerDerek Allard <derek.allard@ellislab.com>2008-08-31 16:24:56 +0200
commitcb36e34719bf60904bc7fa39dfbcb0fa86310e66 (patch)
tree85fa97cbddd1bc6d25542dadb237d732adde0301 /user_guide/database/queries.html
parent53653931de20b3cd41587d02659022e67d1a2d75 (diff)
grammar changes
Diffstat (limited to 'user_guide/database/queries.html')
-rw-r--r--user_guide/database/queries.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/queries.html b/user_guide/database/queries.html
index eb4d13e9d..1411e65db 100644
--- a/user_guide/database/queries.html
+++ b/user_guide/database/queries.html
@@ -98,7 +98,7 @@ can escape only string data. It also automatically adds single quotes around th
<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:
+Most of the time you'll use the above function rather than this one. Use the function like this:
<code>$sql = "INSERT INTO table (title) VALUES('".$this->db->escape_str($title)."')";</code></li>
</ol>