diff options
Diffstat (limited to 'user_guide/database')
-rw-r--r-- | user_guide/database/queries.html | 2 | ||||
-rw-r--r-- | user_guide/database/transactions.html | 2 |
2 files changed, 2 insertions, 2 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>
diff --git a/user_guide/database/transactions.html b/user_guide/database/transactions.html index 7ff23ee66..8652aad18 100644 --- a/user_guide/database/transactions.html +++ b/user_guide/database/transactions.html @@ -62,7 +62,7 @@ Transactions <h1>Transactions</h1>
<p>CodeIgniter's database abstraction allows you to use <dfn>transactions</dfn> with databases that support transaction-safe table types. In MySQL, you'll need
-to be running InnoDB or BDB table types rather then the more common MyISAM. Most other database platforms support transactions natively.</p>
+to be running InnoDB or BDB table types rather than the more common MyISAM. Most other database platforms support transactions natively.</p>
<p>If you are not familiar with
transactions we recommend you find a good online resource to learn about them for your particular database. The information below assumes you
|