summaryrefslogtreecommitdiffstats
path: root/user_guide/database
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/database')
-rw-r--r--user_guide/database/active_record.html2
-rw-r--r--user_guide/database/fields.html6
-rw-r--r--user_guide/database/queries.html2
3 files changed, 5 insertions, 5 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html
index 10b018b4d..f30b3d8b6 100644
--- a/user_guide/database/active_record.html
+++ b/user_guide/database/active_record.html
@@ -221,7 +221,7 @@ $this->db->join('comments', 'comments.id = blogs.id', <strong>'left'</strong>);<
<li><strong>Custom key/value method:</strong>
- <p>You can include an operator in the first parameter in order to to control the comparison:</p>
+ <p>You can include an operator in the first parameter in order to control the comparison:</p>
<code>$this->db->where('name !=', $name);<br />
$this->db->where('id <', $id);
diff --git a/user_guide/database/fields.html b/user_guide/database/fields.html
index d70314b5a..1ae1a392b 100644
--- a/user_guide/database/fields.html
+++ b/user_guide/database/fields.html
@@ -80,7 +80,7 @@ foreach ($fields as $field)<br />
}
</code>
-<p>2. You can gather the feild names associated with any query you run by calling the function
+<p>2. You can gather the field names associated with any query you run by calling the function
from your query result object:</p>
<code>
@@ -96,7 +96,7 @@ foreach ($query->list_fields() as $field)<br />
<h2>$this->db->field_exists()</h2>
-<p>Sometimes it's helpful to know whether a particular field exists befor performing an action.
+<p>Sometimes it's helpful to know whether a particular field exists before performing an action.
Returns a boolean TRUE/FALSE. Usage example:</p>
<code>
@@ -133,7 +133,7 @@ foreach ($fields as $field)<br />
}
</code>
-<p>If you have run a query already you can use the result oject instead of supplying the table name:</p>
+<p>If you have run a query already you can use the result object instead of supplying the table name:</p>
<code>
$query = $this->db->query("YOUR QUERY")<br />
diff --git a/user_guide/database/queries.html b/user_guide/database/queries.html
index 39ad00f12..a13e2d6a5 100644
--- a/user_guide/database/queries.html
+++ b/user_guide/database/queries.html
@@ -87,7 +87,7 @@ It simply lets you submit a query. Most users will rarely use this function.</p>
<h1>Escaping Queries</h1>
-<p>It's a very good security practice to escape your data before sumbiting it into your database.
+<p>It's a very good security practice to escape your data before submitting it into your database.
Code Igniter has two functions that help you do this:</p>
<ol>