From e7e1dcd452a15abaaa01c03cd1ade564e3a59453 Mon Sep 17 00:00:00 2001 From: admin Date: Sat, 21 Oct 2006 18:04:01 +0000 Subject: --- user_guide/database/fields.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'user_guide/database/fields.html') 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")
-- cgit v1.2.3-24-g4f1b