From e7e1dcd452a15abaaa01c03cd1ade564e3a59453 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 21 Oct 2006 18:04:01 +0000 Subject: --- user_guide/database/active_record.html | 2 +- user_guide/database/fields.html | 6 +++--- user_guide/database/queries.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'user_guide/database') 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', 'left');<
  • Custom key/value method: -

    You can include an operator in the first parameter in order to to control the comparison:

    +

    You can include an operator in the first parameter in order to control the comparison:

    $this->db->where('name !=', $name);
    $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)
    }
    -

    2. You can gather the feild names associated with any query you run by calling the function +

    2. You can gather the field names associated with any query you run by calling the function from your query result object:

    @@ -96,7 +96,7 @@ foreach ($query->list_fields() as $field)

    $this->db->field_exists()

    -

    Sometimes it's helpful to know whether a particular field exists befor performing an action. +

    Sometimes it's helpful to know whether a particular field exists before performing an action. Returns a boolean TRUE/FALSE. Usage example:

    @@ -133,7 +133,7 @@ foreach ($fields as $field)
    }
    -

    If you have run a query already you can use the result oject instead of supplying the table name:

    +

    If you have run a query already you can use the result object instead of supplying the table name:

    $query = $this->db->query("YOUR QUERY")
    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.

    Escaping Queries

    -

    It's a very good security practice to escape your data before sumbiting it into your database. +

    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:

      -- cgit v1.2.3-24-g4f1b